public void PerftFull() { foreach (var perftPosition in Positions) { var perft = new Perft(Positions.Length); perft.AddPosition(perftPosition); var expected = perft.GetPositionCount(0, Positions.Length); var actual = perft.DoPerft(); Assert.Equal(expected, actual); } }
public void PerftMedium() { foreach (var perftPosition in Positions) { var perft = new Perft(MediumCount); perft.AddPosition(perftPosition); var expected = perft.GetPositionCount(0, MediumCount); var actual = perft.DoPerft(); Assert.Equal(expected, actual); } }