mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-01-31 23:29:36 +01:00
Endrer en test så den tester det den skal
Co-Authored-By: gabrielmagnus <gabrielmagnus@users.noreply.github.com>
This commit is contained in:
parent
1fc45c98dc
commit
1f31f66c70
@ -472,6 +472,7 @@ public class PhaseTest {
|
|||||||
Phase testPhase = createPhaseAndLoadBoard(players, robots);
|
Phase testPhase = createPhaseAndLoadBoard(players, robots);
|
||||||
testPhase.moveAllConveyorBelts();
|
testPhase.moveAllConveyorBelts();
|
||||||
|
|
||||||
assertNull(board.getRobotOnPosition(new Position(0, 0)));
|
assertTrue(board.isRobotAlive(RobotID.ROBOT_1));
|
||||||
|
assertEquals(RobotID.ROBOT_1, board.getRobotOnPosition(new Position(0, 0)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
01;01 07;03 07;01 01;01 11;01 05;01 01;01 01;01 01;01 01;01 01;01 01;01
|
01;01 07;03 07;01 01;01 11;01 05;01 01;01 01;01 01;01 01;01 01;01 01;01
|
||||||
01;01 01;01 01;01 01;01 11;01 05;01 01;01 05;03 01;01 01;01 01;01 01;01
|
01;01 01;01 01;01 01;01 11;01 05;01 01;01 05;03 01;01 01;01 01;01 01;01
|
||||||
01;01 01;01 01;01 01;01 01;01 01;01 01;01 01;01 05;01 01;01 01;01 01;01
|
01;01 01;01 01;01 01;01 01;01 01;01 01;01 01;01 05;01 01;01 01;01 01;01
|
||||||
1;5 0 0 0 0 0 0 0 0 0 0 0
|
1;1 0 0 0 0 0 0 0 0 0 0 0
|
||||||
0 0 0 0 0 0 0 0 0 0 0 0
|
0 0 0 0 0 0 0 0 0 0 0 0
|
||||||
0 0 0 0 0 0 0 0 0 0 0 0
|
0 0 0 0 0 0 0 0 0 0 0 0
|
||||||
0 0 0 0 0 0 0 0 0 0 0 0
|
0 0 0 0 0 0 0 0 0 0 0 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user