/** * Tests the colCheck method, by changing some types in a col and checking if the returned boolean * is right. */ @Test public final void testColCheck() { board = new Board(3, 0, 0, false); gems = board.getGems(); gems[0][0].setType(1); gems[1][0].setType(1); assertFalse(board.colCheck(2, 0, 1)); gems[0][0].setType(2); assertTrue(board.colCheck(2, 0, 1)); }