public void floor_count_should_be_six_when_bottomfloor_is_negative2_and_topfloor_is_3() { var elevator = new Elevator("", lowestFloor: -2, highestFloor: 3, startFloor: 1, untilMaintainance: 6); Assert.AreEqual(6, elevator.CountFloors); }
public void elevator_should_be_at_floor_one_when_thats_its_startfloor() { var elevator = new Elevator("", lowestFloor: -2, highestFloor: 3, startFloor: 1, untilMaintainance: 6); Assert.AreEqual(1, elevator.CurrentFloor); }