diff --git a/src/test/java/inf112/fiasko/roborally/objects/PhaseTest.java b/src/test/java/inf112/fiasko/roborally/objects/PhaseTest.java index 36d8642..92cb7eb 100644 --- a/src/test/java/inf112/fiasko/roborally/objects/PhaseTest.java +++ b/src/test/java/inf112/fiasko/roborally/objects/PhaseTest.java @@ -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))); } } diff --git a/src/test/resources/boards/test_board.txt b/src/test/resources/boards/test_board.txt index 0f8531a..6640cf6 100644 --- a/src/test/resources/boards/test_board.txt +++ b/src/test/resources/boards/test_board.txt @@ -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 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 -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