ChessDotNet.Variants.Tests.AntichessGameTests.TestGetValidMovesWhiteWithForcedCaptures C# (CSharp) Method

TestGetValidMovesWhiteWithForcedCaptures() private method

private TestGetValidMovesWhiteWithForcedCaptures ( ) : void
return void
        public static void TestGetValidMovesWhiteWithForcedCaptures()
        {
            AntichessGame game = new AntichessGame("rn1qkbnr/p1pppppp/b7/1B6/8/4P3/PPPP1PPP/RNBQK1NR w - - 1 3");
            ReadOnlyCollection<Move> validMoves = game.GetValidMoves(Player.White);
            Assert.AreEqual(2, validMoves.Count);
            Assert.Contains(new Move("B5", "A6", Player.White), validMoves);
            Assert.Contains(new Move("B5", "D7", Player.White), validMoves);
        }