public void Movement_Push() { _movement.Start(_container); _movement.Floating = true; _movement.PushX(3.5f); _movement.PushY(2.6f); _container.Tick(); Assert.AreEqual(3, _position.Position.X); Assert.AreEqual(2, _position.Position.Y); Assert.AreEqual(0, _movement.VelocityX); Assert.AreEqual(0, _movement.VelocityY); _movement.PushX(-1.3f); _movement.PushY(-0.8f); _container.Tick(); Assert.AreEqual(2, _position.Position.X); Assert.AreEqual(1, _position.Position.Y); Assert.AreEqual(0, _movement.VelocityX); Assert.AreEqual(0, _movement.VelocityY); }