<commit_before>﻿using Chainly.Test.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;

namespace Chainly.Test.Tests
{
	public class ChainlyChainTests
	{
		[Fact]
		public void CreateNewChain()
		{
			Asdf model = new Asdf("a");

			var chain = model.CreateChain();

			Assert.Equal(model, chain.Result);
		}

		[Fact]
		public void Then_CanChain()
		{
			Asdf model = new Asdf("a");

			var chain = model.CreateChain().Then(m => m.ParameterMethod("b")).Then(m => m.ParameterMethod("c")).Then(m => m.ParameterMethod("d", 1)).Then(m => m.GetMyString());

			Assert.Equal(2, model.ParameterMethodWithOneParameterCount);
			Assert.Equal(1, model.ParameterMethodWithTwoParametersCount);
		}
	}
}<commit_msg>minor spacing change<commit_after>﻿using Chainly.Test.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;

namespace Chainly.Test.Tests
{
	public class ChainlyChainTests
	{
		[Fact]
		public void CreateNewChain()
		{
			Asdf model = new Asdf("a");

			var chain = model.CreateChain();

			Assert.Equal(model, chain.Result);
		}

		[Fact]
		public void Then_CanChain()
		{
			Asdf model = new Asdf("a");

			var chain = model.CreateChain()
				.Then(m => m.ParameterMethod("b"))
				.Then(m => m.ParameterMethod("c"))
				.Then(m => m.ParameterMethod("d", 1))
				.Then(m => m.GetMyString());

			Assert.Equal(2, model.ParameterMethodWithOneParameterCount);
			Assert.Equal(1, model.ParameterMethodWithTwoParametersCount);
		}
	}
}
{'fraction_non_alphanumeric': 0.14472863381160325, 'fraction_numerical': 0.0037429819089207735, 'mean_word_length': 4.32890365448505, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '405523', 'n_tokens_mistral': 597, 'n_tokens_neox': 529, 'n_words': 110}