Esempio n. 1
0
        public void CalculateShippingCost_ValidDimensions_Calculates(ParcelSize parcelSize, decimal parcelWeight, decimal cost)
        {
            // Arrange
            var parcel = new Parcel(parcelSize, parcelWeight);

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

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