@ -89,7 +89,7 @@ public class GameLogic {
}
public boolean checkEndOfGame() {
// TODO Auto-generated method stub
if (checkForWin('x')) return true;
return false;
@ -226,7 +226,11 @@ class GameLogicTest {
Arguments.of("check empty board", false, new char[][]
{{'-', '-', '-'},
{'-', '-', '-'},
{'-', '-', '-'}})
{'-', '-', '-'}}),
Arguments.of("end of game with win for player 1", true, new char[][]
{{'x', 'o', 'x'},
{'x', 'x', 'o'},
{'x', 'o', 'o'}})
);