public void WorldObject_VelocityTest() { WorldObject obj = new WorldObject(); obj.setCenter(Point.Zero); obj.setVelocity(5.0f, 5.0f); obj.Update(); Assert.NotEqual(obj.Position(), Vector2.Zero); }
public void WorldObject_DefaultInitTest() { WorldObject obj = new WorldObject(); Assert.Equal(obj.velocity, Vector2.Zero); }