Ejemplo n.º 1
0
        public void CalculateSpecializedFeeTest()
        {
            var specializedRentFee = new RentFee(EquipmentType.Specialized, 1);

            Assert.AreEqual(specializedRentFee.CalculateFee(), 180.0f);
        }
Ejemplo n.º 2
0
        public void CalculateHeavyFeeTest()
        {
            var heavyRentFee = new RentFee(EquipmentType.Heavy, 1);

            Assert.AreEqual(heavyRentFee.CalculateFee(), 160.0f);
        }
Ejemplo n.º 3
0
        public void CalculateRegularFeeTest()
        {
            var regularRentFee = new RentFee(EquipmentType.Regular, 1);

            Assert.AreEqual(regularRentFee.CalculateFee(), 220.0f);
        }