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

TestNoCastling() private method

private TestNoCastling ( ) : void
return void
        public static void TestNoCastling()
        {
            AntichessGame game = new AntichessGame();
            game.ApplyMove(new Move("E2", "E3", Player.White), true);
            game.ApplyMove(new Move("E7", "E6", Player.Black), true);
            game.ApplyMove(new Move("G1", "F3", Player.White), true);
            game.ApplyMove(new Move("G8", "F6", Player.Black), true);
            game.ApplyMove(new Move("F1", "E2", Player.White), true);
            game.ApplyMove(new Move("F8", "E7", Player.Black), true);
            Assert.False(game.IsValidMove(new Move("E1", "G1", Player.White)));
        }