예제 #1
0
 public void DecreaseSpeedTest()
 {
     Avto avto = new Avto();
     avto.IncreaseSpeed();
     int currentSpeed = avto.CurrentSpeed;
     avto.DecreaseSpeed();
     avto.CurrentSpeed.Should().BeLessThan(currentSpeed);
 }