ChessDotNet.Variants.Tests.ThreeCheckChessGameTests.TestPgnReaderForChecks C# (CSharp) Method

TestPgnReaderForChecks() private method

private TestPgnReaderForChecks ( ) : void
return void
        public static void TestPgnReaderForChecks()
        {
            PgnReader<ThreeCheckChessGame> reader = new PgnReader<ThreeCheckChessGame>();
            reader.ReadPgnFromString("1.e4 e5 2.Qh5 g6 3.Qxe5+ Qe7 4.Qxh8 Qxe4+ 5.Be2 Bg7 6.Qxg8+ Ke7 7.Qe8+");
            Assert.True(reader.Game.IsWinner(Player.White));
        }