This commit is contained in:
2018-04-13 23:54:18 +02:00
parent a6c127ee3b
commit 8c2cb68d22
2 changed files with 38 additions and 17 deletions

View File

@@ -70,6 +70,7 @@ public class PartialPart2FacadeTest {
Worm worm = facade.createWorm(world, new double[] { 1.5, 2.5 }, 3*Math.PI/2, 0.5, "Test", null);
assertFalse(facade.canFall(worm));
facade.move(worm);
System.out.println(facade.getLocation(worm)[1]);
assertTrue(facade.canFall(worm));
facade.fall(worm);
double[] xy = facade.getLocation(worm);