ChessDotNet.Variants.Tests.HordeChessGameTests.TestEnPassantCaptureWhite2 C# (CSharp) 메소드

TestEnPassantCaptureWhite2() 개인적인 메소드

private TestEnPassantCaptureWhite2 ( ) : void
리턴 void
        public static void TestEnPassantCaptureWhite2()
        {
            HordeChessGame game = new HordeChessGame("rnbqkbnr/pppppppp/8/1PPP1PP1/PPP1PPPP/PPPPPPPP/PPPPPPPP/PPPPPPPP b kq - 0 1");
            Assert.AreNotEqual(MoveType.Invalid, game.ApplyMove(new Move("E7", "E5", Player.Black), false));
            Assert.True(game.IsValidMove(new Move("F5", "E6", Player.White)));
            Assert.True(game.IsValidMove(new Move("D5", "E6", Player.White)));
        }