mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-01-31 23:29:36 +01:00
added one more test to RobotTest
This commit is contained in:
parent
0dac36a6ea
commit
98c0ceed15
@ -19,6 +19,10 @@ public class RobotTest {
|
|||||||
assertEquals(0, testRobot.getDamage());
|
assertEquals(0, testRobot.getDamage());
|
||||||
}
|
}
|
||||||
@Test
|
@Test
|
||||||
|
public void testRobotGetBackupOnInitializedRobot(){
|
||||||
|
assertEquals(robotPosition, testRobot.getBackupPosition());
|
||||||
|
}
|
||||||
|
@Test
|
||||||
public void testRobotSetDamage(){
|
public void testRobotSetDamage(){
|
||||||
testRobot.setDamage(2);
|
testRobot.setDamage(2);
|
||||||
assertEquals(2, testRobot.getDamage());
|
assertEquals(2, testRobot.getDamage());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user