@Test public void testHasWinnerForVertical() { int[] cell = {1, 2}; board.setCellValue(cell, 1); assertTrue(GameState.hasWinner(board)); }
@Test public void testHasWinnerForHorizontal() { int[] cell = {0, 1}; board.setCellValue(cell, 1); assertTrue(GameState.hasWinner(board)); }
@Test public void testHasWinnerIsFalse() { assertFalse(GameState.hasWinner(board)); }