<commit_before>﻿using System.Linq;
using MvcContrib.TestHelper;
using SnittListan.Models;
using Xunit;

namespace SnittListan.Test
{
	public class MatchTest : DbTest
	{
		private readonly Match match;

		public MatchTest()
		{
			Session.Store(new MatchRepository().LoadAll(0, 1).Single());
			Session.SaveChanges();
			WaitForNonStaleResults<Match>();
			match = Session.Query<Match>().Single();
		}

		[Fact]
		public void PinscoreForPlayer()
		{
			match.PinscoreForPlayer("<NAME>").ShouldBe(787);
		}

		[Fact]
		public void PinscoreForTeam()
		{
			match.PinScoreForTeam().ShouldBe(6216);
			match.PinscoreForTeam(1).ShouldBe(1598);
			match.PinscoreForTeam(2).ShouldBe(1573);
			match.PinscoreForTeam(3).ShouldBe(1505);
			match.PinscoreForTeam(4).ShouldBe(1540);
		}

		[Fact]
		public void LaneScores()
		{
			match.LaneScoreForTeam().ShouldBe(6);
			match.LaneScoreForTeam(1).ShouldBe(2);
			match.LaneScoreForTeam(2).ShouldBe(2);
			match.LaneScoreForTeam(3).ShouldBe(1);
			match.LaneScoreForTeam(4).ShouldBe(1);
			match.OppTeamLaneScore.ShouldBe(14);
		}

		[Fact]
		public void SeriesPlayed()
		{
			match.NumberOfSeries.ShouldBe(4);
		}

		[Fact]
		public void Teams()
		{
			match.HomeTeam.ShouldBe("Sollentuna Bwk");
			match.OppTeam.ShouldBe("Fredrikshof IF");
		}
	}
}<commit_msg>Corrected test value<commit_after>﻿using System.Linq;
using MvcContrib.TestHelper;
using SnittListan.Models;
using Xunit;

namespace SnittListan.Test
{
	public class MatchTest : DbTest
	{
		private readonly Match match;

		public MatchTest()
		{
			Session.Store(new MatchRepository().LoadAll(0, 1).Single());
			Session.SaveChanges();
			WaitForNonStaleResults<Match>();
			match = Session.Query<Match>().Single();
		}

		[Fact]
		public void PinscoreForPlayer()
		{
			match.PinscoreForPlayer("<NAME>").ShouldBe(787);
		}

		[Fact]
		public void PinscoreForTeam()
		{
			match.PinScoreForTeam().ShouldBe(6216);
			match.PinscoreForTeam(1).ShouldBe(1598);
			match.PinscoreForTeam(2).ShouldBe(1573);
			match.PinscoreForTeam(3).ShouldBe(1505);
			match.PinscoreForTeam(4).ShouldBe(1540);
		}

		[Fact]
		public void LaneScores()
		{
			match.LaneScoreForTeam().ShouldBe(6);
			match.LaneScoreForTeam(1).ShouldBe(2);
			match.LaneScoreForTeam(2).ShouldBe(2);
			match.LaneScoreForTeam(3).ShouldBe(1);
			match.LaneScoreForTeam(4).ShouldBe(1);
			match.OppTeamLaneScore.ShouldBe(13);
		}

		[Fact]
		public void SeriesPlayed()
		{
			match.NumberOfSeries.ShouldBe(4);
		}

		[Fact]
		public void Teams()
		{
			match.HomeTeam.ShouldBe("Sollentuna Bwk");
			match.OppTeam.ShouldBe("Fredrikshof IF");
		}
	}
}
{'fraction_non_alphanumeric': 0.13881748071979436, 'fraction_numerical': 0.030113845023870732, 'mean_word_length': 3.593591905564924, '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': '4527020', 'n_tokens_mistral': 1151, 'n_tokens_neox': 978, 'n_words': 130}