Browse Source

tictactoe: added test case to check tied game

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

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

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

Loading…
Cancel
Save