public void TestBikeBrakingNotGetLessThanZero() { Bike bike = Bike; bike.Pedal(10); bike.Braking(100); Assert.AreEqual(0, bike.Speed); Debug.Write(bike.Speed); }
public void TestBikeBraking() { Bike bike = Bike; bike.Pedal(10); bike.Braking(5); Debug.Write(bike.Speed); Assert.AreEqual(65, bike.Speed); }