예제 #1
0
 @Test
 public void testGetPieceNull() {
   Piece piece = board.getPiece(5, 5);
   assertNull(piece);
 }
예제 #2
0
 @Test
 public void testPieceColour() {
   Piece piece = board.getPiece(4, 1);
   assertEquals(white, piece.getColour());
 }
예제 #3
0
 @Test
 public void testGetPieceNotNull() {
   Piece piece = board.getPiece(4, 1);
   assertNotNull(piece);
 }