<commit_before>﻿using System;
using System.IO;
using System.Reflection;
using ExistAll.SimpleConfig.Binder;
using ExistAll.SimpleConfig.Binders;
using Microsoft.Extensions.Configuration;
using Xunit;

namespace ExistAll.SimpleConfig.UnitTests
{
	public class Class1
	{
		[Fact]
		public void Test()
		{
			var configuration = new ConfigurationBuilder().AddJsonFile(Path.Combine(AppContext.BaseDirectory, "../../../appSettings.json")).Build();

			var t = new ConfigBuilder();
			t.Add(new ConfigurationBinder(configuration));


			var configCollection = t.Build(new []{ GetType().GetTypeInfo().Assembly }, new ConfigOptions());
			var config = configCollection.GetConfig<IX1>();

		}

		[Fact]
		public void Test1()
		{
			var co = new InMemoryCollection();
			co.Add("X1", "Name", "goni");

			var t = new ConfigBuilder();
			t.Add(new InMemoryBinder(co));


			var configCollection = t.Build(new []{GetType().GetTypeInfo().Assembly}, new ConfigOptions());
			var config = configCollection.GetConfig<IX1>();
			var config1 = configCollection.GetConfig<IX2>();

		}
	}
}
<commit_msg>simple failed test<commit_after>﻿using System;
using System.IO;
using System.Reflection;
using ExistAll.SimpleConfig.Binder;
using ExistAll.SimpleConfig.Binders;
using Microsoft.Extensions.Configuration;
using Xunit;

namespace ExistAll.SimpleConfig.UnitTests
{
	public class Class1
	{
		[Fact]
		public void Test2()
		{
			Assert.True(false);
		}

		[Fact]
		public void Test()
		{
			var configuration = new ConfigurationBuilder().AddJsonFile(Path.Combine(AppContext.BaseDirectory, "../../../appSettings.json")).Build();

			var t = new ConfigBuilder();
			t.Add(new ConfigurationBinder(configuration));


			var configCollection = t.Build(new []{ GetType().GetTypeInfo().Assembly }, new ConfigOptions());
			var config = configCollection.GetConfig<IX1>();

		}

		[Fact]
		public void Test1()
		{
			var co = new InMemoryCollection();
			co.Add("X1", "Name", "goni");

			var t = new ConfigBuilder();
			t.Add(new InMemoryBinder(co));


			var configCollection = t.Build(new []{GetType().GetTypeInfo().Assembly}, new ConfigOptions());
			var config = configCollection.GetConfig<IX1>();
			var config1 = configCollection.GetConfig<IX2>();

		}
	}
}

{'fraction_non_alphanumeric': 0.13929492691315562, 'fraction_numerical': 0.006448839208942391, 'mean_word_length': 3.6633266533066133, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '5211654', 'n_tokens_mistral': 795, 'n_tokens_neox': 701, 'n_words': 151}