public void FourDaysDailyRentalCosts80Dollars() { Rental r = new RentalFactory().rentalDailyFourDays; Assert.IsTrue(r.Cost() == 80); }
public void TwoWeeksWeeklyRentalCosts120Dollars() { Rental r = new RentalFactory().rentalWeeklyTwoWeeks; Assert.IsTrue(r.Cost() == 120); }
public void TwoHoursHourlyRentalCosts10Dollars() { Rental r = new RentalFactory().rentalHourlyTwoHours; Assert.IsTrue(r.Cost() == 10); }