Пример #1
0
 @Test
 public void testVerticalWinnerReturnsWinnerValue() {
   int[] cell = {1, 2};
   board.setCellValue(cell, 1);
   assertEquals(1, GameState.VerticalWinner(board));
 }
Пример #2
0
 @Test
 public void testVerticalWinnerReturnsZeroForNoWinner() {
   assertEquals(0, GameState.VerticalWinner(board));
 }