GameTest.java correct

This commit is contained in:
Andrin Fassbind 2022-03-24 18:45:59 +01:00
parent 30162df956
commit 19eb41066c
1 changed files with 2 additions and 2 deletions

View File

@ -133,7 +133,7 @@ class GameTest {
@Test @Test
void winner() { void winner() {
game = new Game(new interFace("Test",new Integer[]{0,2,1},new PositionVector.Direction[]{RIGHT, game = new Game(new interFace("Test",new Integer[]{0,2,0},new PositionVector.Direction[]{RIGHT,
RIGHT, RIGHT,
RIGHT, RIGHT,
NONE, NONE,
@ -178,7 +178,7 @@ class GameTest {
@Test @Test
void crashA() { void crashA() {
game = new Game(new interFace("Test",new Integer[]{0,2,2},new PositionVector.Direction[]{UP})); game = new Game(new interFace("Test",new Integer[]{0,1,0},new PositionVector.Direction[]{UP}));
game.initPhase(); game.initPhase();
Assertions.assertEquals("b",game.gamePhase()); Assertions.assertEquals("b",game.gamePhase());
} }