예제 #1
0
        public void CalculateOverweightFeeExtraLargeParcel()
        {
            var feeCalculator = new ParcelOverweightFeeCalculator();

            var fee = feeCalculator.CalculateOverWeightFee(ParcelSizeFactor.ExtraLarge);

            Assert.AreEqual(2, fee);
        }
예제 #2
0
        public void CalculateOverweightFeeMediumParcel()
        {
            var feeCalculator = new ParcelOverweightFeeCalculator();

            var fee = feeCalculator.CalculateOverWeightFee(ParcelSizeFactor.Medium);

            Assert.AreEqual(2, fee);
        }