<commit_before>﻿using System;
using System.Collections.Generic;
using System.Linq;
using Xunit;

namespace UnsharedNamespace
{
    public class PublicTypesTests
    {
        [Fact]
        public void TheSetOfPublicTypesIsExpected()
        {
            var expectedTypes = new List<Type>()
            {
                typeof(Knapcode.TorSharp.ITorSharpProxy),
                typeof(Knapcode.TorSharp.ITorSharpToolFetcher),
                typeof(Knapcode.TorSharp.ToolDownloadStrategy),
                typeof(Knapcode.TorSharp.ToolRunnerType),
                typeof(Knapcode.TorSharp.Tools.DownloadableFile),
                typeof(Knapcode.TorSharp.Tools.Tor.TorControlClient),
                typeof(Knapcode.TorSharp.Tools.Tor.TorControlException),
                typeof(Knapcode.TorSharp.Tools.ZippedToolFormat),
                typeof(Knapcode.TorSharp.ToolUpdate),
                typeof(Knapcode.TorSharp.ToolUpdates),
                typeof(Knapcode.TorSharp.ToolUpdateStatus),
                typeof(Knapcode.TorSharp.TorSharpArchitecture),
                typeof(Knapcode.TorSharp.TorSharpException),
                typeof(Knapcode.TorSharp.TorSharpOSPlatform),
                typeof(Knapcode.TorSharp.TorSharpPrivoxySettings),
                typeof(Knapcode.TorSharp.TorSharpProxy),
                typeof(Knapcode.TorSharp.TorSharpSettings),
                typeof(Knapcode.TorSharp.TorSharpToolFetcher),
                typeof(Knapcode.TorSharp.TorSharpTorSettings),
            };

            var publicTypes = typeof(Knapcode.TorSharp.TorSharpProxy)
                .Assembly
                .GetTypes()
                .Where(x => x.IsPublic)
                .ToList();

            Assert.Empty(publicTypes.Except(expectedTypes));
            Assert.Empty(expectedTypes.Except(publicTypes));
        }
    }
}<commit_msg>Fix a test due to new public type<commit_after>﻿using System;
using System.Collections.Generic;
using System.Linq;
using Xunit;

namespace UnsharedNamespace
{
    public class PublicTypesTests
    {
        [Fact]
        public void TheSetOfPublicTypesIsExpected()
        {
            var expectedTypes = new List<Type>()
            {
                typeof(Knapcode.TorSharp.ITorSharpProxy),
                typeof(Knapcode.TorSharp.ITorSharpToolFetcher),
                typeof(Knapcode.TorSharp.ToolDownloadStrategy),
                typeof(Knapcode.TorSharp.ToolRunnerType),
                typeof(Knapcode.TorSharp.Tools.DownloadableFile),
                typeof(Knapcode.TorSharp.Tools.Tor.TorControlClient),
                typeof(Knapcode.TorSharp.Tools.Tor.TorControlException),
                typeof(Knapcode.TorSharp.Tools.ZippedToolFormat),
                typeof(Knapcode.TorSharp.ToolUpdate),
                typeof(Knapcode.TorSharp.ToolUpdates),
                typeof(Knapcode.TorSharp.ToolUpdateStatus),
                typeof(Knapcode.TorSharp.TorSharpArchitecture),
                typeof(Knapcode.TorSharp.TorSharpException),
                typeof(Knapcode.TorSharp.TorSharpOSPlatform),
                typeof(Knapcode.TorSharp.TorSharpPrivoxySettings),
                typeof(Knapcode.TorSharp.TorSharpProxy),
                typeof(Knapcode.TorSharp.TorSharpProxyExtensions),
                typeof(Knapcode.TorSharp.TorSharpSettings),
                typeof(Knapcode.TorSharp.TorSharpToolFetcher),
                typeof(Knapcode.TorSharp.TorSharpTorSettings),
            };

            var publicTypes = typeof(Knapcode.TorSharp.TorSharpProxy)
                .Assembly
                .GetTypes()
                .Where(x => x.IsPublic)
                .ToList();

            Assert.Empty(publicTypes.Except(expectedTypes));
            Assert.Empty(expectedTypes.Except(publicTypes));
        }
    }
}
{'fraction_non_alphanumeric': 0.08735814198997097, 'fraction_numerical': 0.0, 'mean_word_length': 2.0638641875505255, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2258747', 'n_tokens_mistral': 1140, 'n_tokens_neox': 982, 'n_words': 108}