public void GeneratePackageInfoCorrectly()
        {
            PackageCostInfo smallPackage = GeneratePackageInfo(new PackageSizeWeight {
                Length = 5, Width = 2, Thickness = 1, Weight = 1f
            });
            PackageCostInfo smallPackageOverWeight = GeneratePackageInfo(new PackageSizeWeight {
                Length = 5, Width = 2, Thickness = 1, Weight = 3f
            });
            PackageCostInfo mediumPackage = GeneratePackageInfo(new PackageSizeWeight {
                Length = 15, Width = 2, Thickness = 1, Weight = 2f
            });
            PackageCostInfo largePackage = GeneratePackageInfo(new PackageSizeWeight {
                Length = 55, Width = 2, Thickness = 1, Weight = 2f
            });
            PackageCostInfo extraLargePackage = GeneratePackageInfo(new PackageSizeWeight {
                Length = 105, Width = 2, Thickness = 1, Weight = 2f
            });

            Assert.Equal(smallPackage.Type, PackageType.Small);
            Assert.Equal(smallPackage.Cost, 3f);

            Assert.Equal(smallPackageOverWeight.Type, PackageType.Small);
            Assert.Equal(smallPackageOverWeight.Cost, 7f);

            Assert.Equal(mediumPackage.Type, PackageType.Medium);
            Assert.Equal(mediumPackage.Cost, 8f);

            Assert.Equal(largePackage.Type, PackageType.Large);
            Assert.Equal(largePackage.Cost, 15f);

            Assert.Equal(extraLargePackage.Type, PackageType.ExtraLarge);
            Assert.Equal(extraLargePackage.Cost, 26f);
        }
        public void GeneratePackageInfo_HeavyPackagepCalculatedCorrectly()
        {
            PackageCostInfo heavyPackage = GeneratePackageInfo(new PackageSizeWeight {
                Length = 10, Width = 2, Thickness = 1, Weight = 50f
            });
            PackageCostInfo veryHeavyPackage = GeneratePackageInfo(new PackageSizeWeight {
                Length = 105, Width = 2, Thickness = 1, Weight = 100f
            });

            Assert.Equal(heavyPackage.Type, PackageType.Heavy);
            Assert.Equal(heavyPackage.Cost, 50f);

            Assert.Equal(veryHeavyPackage.Type, PackageType.Heavy);
            Assert.Equal(veryHeavyPackage.Cost, 100f);
        }