public void TestQueen() { var queen = new Queen(Color.White); var board = new Board(); board.Occupants[0, 4] = queen; Assert.IsTrue(queen.CheckValidMove( new Vector2Int(0, 4), new Vector2Int(2, 6), board )); Assert.IsTrue(queen.CheckValidMove( new Vector2Int(0, 4), new Vector2Int(0, 6), board )); Assert.IsFalse(queen.CheckValidMove( new Vector2Int(0, 4), new Vector2Int(1, 6), board )); board.Occupants[1, 5] = new Pawn(Color.White); Assert.IsFalse(queen.CheckValidMove( new Vector2Int(0, 4), new Vector2Int(2, 6), board )); }