public void TopOfTheLineCarHasCorrectSpeed() { var car = RemoteControlCar.TopOfTheLine(); car.Drive(); Assert.Equal(50, car.DistanceDriven()); }
public void Top_of_the_line_car_has_correct_speed() { var car = RemoteControlCar.TopOfTheLine(); car.Drive(); Assert.Equal(50, car.DistanceDriven()); }
public void TopOfTheLineHasCorrectBatteryDrain() { var car = RemoteControlCar.TopOfTheLine(); // The battery is almost drained for (var i = 0; i < 24; i++) { car.Drive(); } Assert.False(car.BatteryDrained()); // Drain the battery car.Drive(); Assert.True(car.BatteryDrained()); }
public void TopOfTheLineCarHasBatteryNotDrained() { var car = RemoteControlCar.TopOfTheLine(); Assert.False(car.BatteryDrained()); }
public void TopOfTheLineCarHasNotDrivenAnyDistance() { var car = RemoteControlCar.TopOfTheLine(); Assert.Equal(0, car.DistanceDriven()); }
public void Top_of_the_line_car_has_battery_not_drained() { var car = RemoteControlCar.TopOfTheLine(); Assert.False(car.BatteryDrained()); }
public void Top_of_the_line_car_has_not_driven_any_distance() { var car = RemoteControlCar.TopOfTheLine(); Assert.Equal(0, car.DistanceDriven()); }