mirror of
				https://github.com/inf112-v20/Fiasko.git
				synced 2025-11-04 11:43:44 +01:00 
			
		
		
		
	Fikset Bug ved Test av respawn
This commit is contained in:
		@@ -132,7 +132,8 @@ public class BoardTest {
 | 
			
		||||
 | 
			
		||||
    @Test
 | 
			
		||||
    public void respawnRobotAtBackupPosition() {
 | 
			
		||||
        Robot robot = board.getAliveRobots().get(0);
 | 
			
		||||
        Robot robot = robotList.get(0);
 | 
			
		||||
        robot.setPosition(new Position(0, 0));
 | 
			
		||||
        board.moveRobot(robot.getRobotId(), Direction.NORTH);
 | 
			
		||||
        board.removeDeadRobotFromBoard(robot);
 | 
			
		||||
        board.respawnRobots();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user