public void TestCheckmate()
        {
            Piece[][] board = new Piece[8][]
            {
                new[] { o, kb, o, o, o, o, o, o },
                new[] { o, o, o, o, o, o, o, qw },
                new[] { o, o, o, o, o, o, o, o },
                new[] { o, o, o, o, o, o, o, o },
                new[] { o, o, o, o, o, o, o, o },
                new[] { o, o, o, o, o, o, o, o },
                new[] { o, o, o, o, o, o, o, o },
                new[] { o, o, o, o, kw, o, o, o }
            };
            AtomicChessGame game = new AtomicChessGame(board, Player.White);

            game.ApplyMove(new Move("H7", "B7", Player.White), true);
            Assert.True(game.IsCheckmated(Player.Black));
            Assert.True(game.IsWinner(Player.White));
        }
 public void TestCheckmate()
 {
     Piece[][] board = new Piece[8][]
     {
         new[] { o, kb, o, o, o, o, o, o },
         new[] { o, o, o, o, o, o, o, qw },
         new[] { o, o, o, o, o, o, o, o },
         new[] { o, o, o, o, o, o, o, o },
         new[] { o, o, o, o, o, o, o, o },
         new[] { o, o, o, o, o, o, o, o },
         new[] { o, o, o, o, o, o, o, o },
         new[] { o, o, o, o, kw, o, o, o }
     };
     AtomicChessGame game = new AtomicChessGame(board, Player.White);
     game.ApplyMove(new Move("H7", "B7", Player.White), true);
     Assert.True(game.IsCheckmated(Player.Black));
     Assert.True(game.IsWinner(Player.White));
 }