Browse Source

tictactoe: added test case to check not yed finished game

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

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

@ -238,7 +238,11 @@ class GameLogicTest {
Arguments.of("check tied game", true, new char[][]
{{'x', 'x', 'o'},
{'o', 'x', 'o'},
{'x', 'o', 'x'}})
{'x', 'o', 'x'}}),
Arguments.of("check not yet finished game", false, new char[][]
{{'x', 'x', '-'},
{'o', 'o', '-'},
{'x', 'o', 'x'}})
);
}

Loading…
Cancel
Save