ChessDotNet.Tests.ChessGameTests.TestFenCastlingFieldAfterRookCapture_WhiteKingside C# (CSharp) 메소드

TestFenCastlingFieldAfterRookCapture_WhiteKingside() 개인적인 메소드

        public static void TestFenCastlingFieldAfterRookCapture_WhiteKingside()
        {
            ChessGame game = new ChessGame("rn1qkbnr/pbpppppp/1p6/8/1P6/6P1/P1PPPP1P/RNBQKBNR b KQkq - 0 3");
            game.ApplyMove(new Move("b7", "h1", Player.Black), true);
            Assert.False(game.CanWhiteCastleKingSide);
            Assert.AreEqual("rn1qkbnr/p1pppppp/1p6/8/1P6/6P1/P1PPPP1P/RNBQKBNb w Qkq - 0 4", game.GetFen());
        }
ChessGameTests