예제 #1
0
        public void PostalService2ndTest()
        {
            PostalService2nd testPostage2 = new PostalService2nd();

            Assert.AreEqual(0.39, testPostage2.CalculateRate(20, 48), 2);
            Assert.AreEqual(0.9541, testPostage2.CalculateRate(203, 15), 2);
            Assert.AreEqual(0.16, testPostage2.CalculateRate(40, 7), 2);
        }
예제 #2
0
        public void PostalService2Test()
        {
            PostalService2nd postalService2Test = new PostalService2nd();

            Assert.AreEqual(4.5, postalService2Test.CalculateRate(100, 128));
        }