public void ShouldDisplayGeareShiftedGivenStartedThenShiftGear() { var car = new Car("Started"); car.ShiftGear(); var message = car.Display(); Assert.AreEqual("GearShifted", message); }
public void ShouldDisplayFlameoutGivenFlameoutThenShiftGear() { var car = new Car("Flameout"); car.ShiftGear(); var message = car.Display(); Assert.AreEqual("Flameout", message); }
public void ShouldDisplayMovingGivenStartedShiftGearThenStepOnTheGas() { var car = new Car("Started"); car.ShiftGear(); car.StepOnGas(); var message = car.Display(); Assert.AreEqual("Moving", message); }