Ejemplo n.º 1
0
        public void FourDaysDailyRentalCosts80Dollars()
        {
            Rental r = new RentalFactory().rentalDailyFourDays;

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

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

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