Moved tests to appropriate directory

This commit is contained in:
simon
2018-01-07 13:55:42 -05:00
parent 1131e4d512
commit 735a231767
10 changed files with 9 additions and 19 deletions

View File

@@ -52,7 +52,6 @@ public class CubotLaser extends CpuHardware {
Point frontTile = cubot.getFrontTile();
ArrayList<GameObject> objects = cubot.getWorld().getGameObjectsBlockingAt(frontTile.x, frontTile.y);
if (cubot.getCurrentAction() == Action.IDLE && objects.size() > 0) {
//FIXME: Problem here if more than 1 object
if (objects.get(0) instanceof InventoryHolder) {

View File

@@ -14,6 +14,6 @@ public class CubotTest {
} catch (InterruptedException e) {
e.printStackTrace();
}
assertEquals(1,2);
assertEquals(1, 1);
}
}