@Test public void testaaUpdatenvaikutus() { testbullet = new Bullet(tilemap, Direction.LEFT); testbullet.update(); testbullet.setMovingVector(Direction.NULL); testbullet.update(); assertTrue(testbullet.shouldBeRemoved()); }
@Test public void testaaShouldBeRemoved() { testbullet = new Bullet(tilemap, Direction.BOTTOMLEFT); assertFalse(testbullet.shouldBeRemoved()); }