Example #1
0
        public void FourDaysDailyRentalCosts80Dollars()
        {
            Rental r = new RentalFactory().rentalDailyFourDays;

            Assert.IsTrue(r.Cost() == 80);
        }
Example #2
0
        public void TwoWeeksWeeklyRentalCosts120Dollars()
        {
            Rental r = new RentalFactory().rentalWeeklyTwoWeeks;

            Assert.IsTrue(r.Cost() == 120);
        }
Example #3
0
        public void TwoHoursHourlyRentalCosts10Dollars()
        {
            Rental r = new RentalFactory().rentalHourlyTwoHours;

            Assert.IsTrue(r.Cost() == 10);
        }