mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-01-31 23:29:36 +01:00
removed redundent test
This commit is contained in:
parent
4c9d5ecc9c
commit
fd7a0f5bc3
@ -68,12 +68,5 @@ public class RobotTest {
|
|||||||
testRobot.setLastFlagVisited(nextFlag);
|
testRobot.setLastFlagVisited(nextFlag);
|
||||||
assertEquals(1, testRobot.getLastFlagVisited());
|
assertEquals(1, testRobot.getLastFlagVisited());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
public void testRobotGetNewBackup() {
|
|
||||||
Position nextFlagPosition = new Position(3, 4);
|
|
||||||
testRobot.setPosition(nextFlagPosition);
|
|
||||||
testRobot.setLastFlagVisited(nextFlag);
|
|
||||||
assertEquals(nextFlagPosition, testRobot.getBackupPosition());
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user