fix ispassable
This commit is contained in:
@@ -33,7 +33,7 @@ public class PartialPart2FacadeTest {
|
||||
world = facade.createWorld(4.0, 4.0, passableMap);
|
||||
}
|
||||
|
||||
@Test
|
||||
@Test
|
||||
public void testMaximumActionPoints() {
|
||||
Worm worm = facade.createWorm(world, new double[] { 1, 2 }, 0, 1, "Test", null);
|
||||
assertEquals(4448, facade.getMaxNbActionPoints(worm));
|
||||
@@ -48,7 +48,7 @@ public class PartialPart2FacadeTest {
|
||||
assertEquals(2, xy[1], EPS);
|
||||
}
|
||||
|
||||
@Test
|
||||
@Test
|
||||
public void testMoveVertical() {
|
||||
Worm worm = facade.createWorm(world, new double[] { 1, 1.5 }, Math.PI / 2, 0.5, "Test", null);
|
||||
facade.move(worm);
|
||||
@@ -56,8 +56,7 @@ public class PartialPart2FacadeTest {
|
||||
assertEquals(1, xy[0], EPS);
|
||||
assertEquals(2.0, xy[1], EPS);
|
||||
}
|
||||
|
||||
@Test
|
||||
@Test
|
||||
public void testFall() {
|
||||
// . X .
|
||||
// . w .
|
||||
|
Reference in New Issue
Block a user