### Question:
RocketLander { static Point2D thrustVector(final float rotation, final float thurstAcceleration) { return new Point2D.Float(-thurstAcceleration*(float)Math.sin(rotation), thurstAcceleration*(float)Math.cos(rotation)); } RocketLander();  RocketLander(final RocketLander toCopy); void setFrom(final RocketLander source); Point2D getPosition(); Point2D getVelocity(); float getRotation(); boolean getBurnLeft(); boolean getBurnRight(); void setBurnLeft(final boolean burnLeft); void setBurnRight(final boolean burnRight); void tick(final float timeDeltaSec); boolean isOnGround(); boolean checkLanded(); boolean crashed(); String toString(); boolean isLandedOrCrashed(); static void main(final String[] args);  }### Answer:
@Test public void testThrustVector() { final float delta = 0.0001f; Point2D vec; vec = RocketLander.thrustVector(0, 5); assertEquals(vec.getX(), 0f, delta); assertEquals(vec.getY(), 5f, delta); vec = RocketLander.thrustVector((float)Math.toRadians(180), 5); assertEquals(vec.getX(), 0f, delta); assertEquals(vec.getY(), -5f, delta); vec = RocketLander.thrustVector((float)Math.toRadians(-180), 5); assertEquals(vec.getX(), 0f, delta); assertEquals(vec.getY(), -5f, delta); vec = RocketLander.thrustVector((float)Math.toRadians(-10), 5); assertEquals(vec.getX(), 0.8682409f, delta); assertEquals(vec.getY(), 4.924039f, delta); vec = RocketLander.thrustVector((float)Math.toRadians(10), 5); assertEquals(vec.getX(), -0.8682409f, delta); assertEquals(vec.getY(), 4.924039f, delta); vec = RocketLander.thrustVector((float)Math.toRadians(100), 5); assertEquals(vec.getX(), -4.924039f, delta); assertEquals(vec.getY(), -0.86824095f, delta); vec = RocketLander.thrustVector((float)Math.toRadians(80), 5); assertEquals(vec.getX(), -4.924039f, delta); assertEquals(vec.getY(), 0.86824095f, delta); vec = RocketLander.thrustVector((float)Math.toRadians(-100), 5); assertEquals(vec.getX(), 4.924039f, delta); assertEquals(vec.getY(), -0.86824095f, delta); vec = RocketLander.thrustVector((float)Math.toRadians(-80), 5); assertEquals(vec.getX(), 4.924039f, delta); assertEquals(vec.getY(), 0.86824095f, delta); }