mirror of
				https://github.com/inf112-v20/Fiasko.git
				synced 2025-11-04 11:43:44 +01:00 
			
		
		
		
	added method getPlayerId in robot class and tested it in Robottest
This commit is contained in:
		@@ -19,6 +19,10 @@ public class RobotTest {
 | 
			
		||||
        assertEquals(0, testRobot.getDamage());
 | 
			
		||||
    }
 | 
			
		||||
    @Test
 | 
			
		||||
    public void testRobotGetPlayerId(){
 | 
			
		||||
        assertEquals(6, testRobot.getPlayerId());
 | 
			
		||||
    }
 | 
			
		||||
    @Test
 | 
			
		||||
    public void testRobotGetBackupOnInitializedRobot(){
 | 
			
		||||
        assertEquals(robotPosition, testRobot.getBackupPosition());
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user