public void Should_not_charge_for_minutes_other_than_for_hour_three_or_more()
        {
            var threeOrMoreHoursPriceRule = new ThreeOrMoreHoursPriceRule();
            decimal amount = threeOrMoreHoursPriceRule.Amount(new TimeSpan(1, 30, 0));

            Assert.AreEqual(0m, amount);
        }
        public void Should_return_correct_amount_for_only_minutes()
        {
            var threeOrMoreHoursPriceRule = new ThreeOrMoreHoursPriceRule();
            decimal amount = threeOrMoreHoursPriceRule.Amount(new TimeSpan(2, 30, 0));

            Assert.AreEqual(2m, amount);
        }
        public void Should_return_correct_amount_for_more_than_four_hours_including_minutes()
        {
            var threeOrMoreHoursPriceRule = new ThreeOrMoreHoursPriceRule();
            decimal amount = threeOrMoreHoursPriceRule.Amount(new TimeSpan(6, 30, 0));

            Assert.AreEqual(18m, amount);
        }
        public void Should_return_correct_amount_for_three_hours_with_no_minutes()
        {
            var threeOrMoreHoursPriceRule = new ThreeOrMoreHoursPriceRule();
            decimal amount = threeOrMoreHoursPriceRule.Amount(new TimeSpan(3, 0, 0));

            Assert.AreEqual(4m, amount);
        }