mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-11-05 04:03:44 +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:
@@ -472,6 +472,7 @@ public class PhaseTest {
|
||||
Phase testPhase = createPhaseAndLoadBoard(players, robots);
|
||||
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)));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user