@Test public void testFullForFullBoard() { for (int i = 0; i < board.dimension; i++) { for (int j = 0; j < board.dimension; j++) { int[] cell = {i, j}; board.setCellValue(cell, 1); } } assertTrue(GameState.full(board)); }
@Test public void testFullForNonFullBoard() { assertFalse(GameState.full(board)); }