Exemple #1
0
        public void PackageFeeTestTube2kg()
        {
            PackagesController test   = new PackagesController();
            decimal            amount = test.PackageFeePublic(2, 3);

            Assert.IsTrue(amount.Equals(200));
        }
Exemple #2
0
        public void PackageFeeTestBox15kg()
        {
            PackagesController test   = new PackagesController();
            decimal            amount = test.PackageFeePublic(15, 4);

            Assert.IsTrue(amount.Equals(2150));
        }
Exemple #3
0
        public void PackageFeeTestEnveloppe2()
        {
            PackagesController test   = new PackagesController();
            decimal            amount = test.PackageFeePublic(10, 1);

            Assert.IsTrue(amount.Equals(160));
        }
Exemple #4
0
        public void PackageFeeTestPak7kg()
        {
            PackagesController test   = new PackagesController();
            decimal            amount = test.PackageFeePublic(7, 2);

            Assert.IsTrue(amount.Equals(1200));
        }
Exemple #5
0
        public void PackageFeeTestCustomer2kg()
        {
            PackagesController test   = new PackagesController();
            decimal            amount = test.PackageFeePublic(2, 5);

            Assert.IsTrue(amount.Equals(220));
        }