Пример #1
0
        public void CalculateAdditionalChargesForWeight_OverLimit_CalculatesCorrectValues(ParcelSize parcelSize, decimal parcelWeight, decimal additionalCharge)
        {
            // Arrange
            var parcel = new Parcel(parcelSize, parcelWeight);

            // Act
            var result = parcel.CalculateAdditionalChargesForWeight();

            // Assert
            Assert.Equal(additionalCharge, result);
        }