Browse Source

tictactoe: added test case to check tied game

tictactoe
Malte Schellhardt 3 years ago
committed by Lorenz Hohmann
parent
commit
52622fa990
  1. 4
      src/test/java/de/tims/tictactoe/GameLogicTest.java

4
src/test/java/de/tims/tictactoe/GameLogicTest.java

@ -234,6 +234,10 @@ class GameLogicTest {
Arguments.of("end of game with win for player 2", true, new char[][] Arguments.of("end of game with win for player 2", true, new char[][]
{{'x', 'x', 'o'}, {{'x', 'x', 'o'},
{'o', 'o', 'o'}, {'o', 'o', 'o'},
{'x', 'o', 'x'}}),
Arguments.of("check tied game", true, new char[][]
{{'x', 'x', 'o'},
{'o', 'x', 'o'},
{'x', 'o', 'x'}}) {'x', 'o', 'x'}})
); );
} }

Loading…
Cancel
Save