/** * Tests the fillBoard method, it check for every place on the board if there is a Gem with a type * from 1 to 6. */ @Test public final void testFillBoardIntInt() { board = new Board(3, 0, 0, false); board.fillBoard(0, 0); gems = board.getGems(); for (int row = 0; row < 3; row++) { for (int col = 0; col < 3; col++) { assertTrue(1 <= gems[row][col].getType()); assertTrue(gems[row][col].getType() <= 6); } } }