Exemple #1
0
        public void BabySitterPaymentCalculatorFromBedTimeToMidNight()
        {
            BabySitter babySitter = new BabySitter(21, 24, 21);

            Assert.AreEqual(24, babySitter.PaymentCalculator());
        }
Exemple #2
0
        public void BabySitterPaymentCalculatorFromBedTimeToOverMidNight()
        {
            BabySitter babySitter = new BabySitter(17, 26, 21);

            Assert.AreEqual(104, babySitter.PaymentCalculator());
        }
Exemple #3
0
        public void BabySitterPaymentCalculatorFromStartTimeToDefualtBedTime()
        {
            BabySitter babySitter = new BabySitter(17, 21, 21);

            Assert.AreEqual(48, babySitter.PaymentCalculator());
        }
Exemple #4
0
        public void BabySitterPaymentCalculatorFromStartTimeToMidNight()
        {
            BabySitter babySitter = new BabySitter(17, 24, 21);

            Assert.AreEqual(72, babySitter.PaymentCalculator());
        }
Exemple #5
0
        public void BabySitterPaymentCalculatorForThreeHoursFromValidStartTime()
        {
            BabySitter babySitter = new BabySitter(17, 20, 21);

            Assert.AreEqual(36, babySitter.PaymentCalculator());
        }
Exemple #6
0
        public void BabySitterPaymentCalculatorFromStartToEnd()
        {
            BabySitter babySitter = new BabySitter(17, 28, 21);

            Assert.AreEqual(136, babySitter.PaymentCalculator());
        }
Exemple #7
0
        public void BabySitterPaymentCalculatorFromBedTimeToEnd()
        {
            BabySitter babySitter = new BabySitter(21, 28, 21);

            Assert.AreEqual(88, babySitter.PaymentCalculator());
        }
Exemple #8
0
        public void BabySitterPaymentCalculatorBetweenMidNightHours()
        {
            BabySitter babySitter = new BabySitter(26, 28, 21);

            Assert.AreEqual(32, babySitter.PaymentCalculator());
        }
Exemple #9
0
        public void BabySitterPaymentCalculatorFromMidNightToEnd()
        {
            BabySitter babySitter = new BabySitter(24, 28, 21);

            Assert.AreEqual(64, babySitter.PaymentCalculator());
        }