<commit_before>﻿using System;
using System.Collections.Generic;
using System.IO;

namespace SODA.Utilities.Tests.Mocks
{
    class FileMocks
    {
        public static string FileThatDoesNotExist(string extension = ".txt")
        {
            return String.Format("{0}{1}", "C:\\temp\\not-a-file", extension);
        }
        
        public static string[] ExcelMocks()
        {
            return new[] { ".\\Mocks\\mock.xls", ".\\Mocks\\mock.xlsx" };
        }
    }<commit_msg>Changed hard coded temp file path to use Path.GetTempPath so tests will pass.<commit_after>﻿using System;
using System.Collections.Generic;
using System.IO;

namespace SODA.Utilities.Tests.Mocks
{
    class FileMocks
    {
        public static string FileThatDoesNotExist(string extension = ".txt")
        {
            return Path.Combine(Path.GetTempPath(), Path.ChangeExtension("not-a-file", extension));
        }
        
        public static string[] ExcelMocks()
        {
            return new[] { ".\\Mocks\\mock.xls", ".\\Mocks\\mock.xlsx" };
        }
    }
{'fraction_non_alphanumeric': 0.13503305004721436, 'fraction_numerical': 0.0018885741265344666, 'mean_word_length': 2.241590214067278, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '961207', 'n_tokens_mistral': 319, 'n_tokens_neox': 314, 'n_words': 68}