public void ShouldCalculateRightLocation() { var blood = new Blood(0, 10) { TimeAliveInSeconds = 2 }; Assert.AreEqual(new Point(Game.FieldWidth - 25, 0), blood.GetLocation()); }
public void ShouldNotMoving_WhenCreatingWithZeroVelocity() { var blood = new Blood(0, 0) { TimeAliveInSeconds = 1 }; Assert.AreEqual(new Point(Game.FieldWidth - 1, 0), blood.GetLocation()); }