public void MoveDownRight() { GameObject obj = new GameObject(); obj.MoveDown(); obj.MoveRight(); Vector2 expected = Vector2.UnitY + Vector2.UnitX; //expected.Normalize(); Assert.That(obj.Velocity, Is.EqualTo(expected)); }
public void MoveDown() { GameObject obj = new GameObject(); obj.MoveDown(); Assert.That(obj.Velocity, Is.EqualTo(Vector2.UnitY)); }