public void PostalService1stTest() { PostalService1st testPostage1 = new PostalService1st(); Assert.AreEqual(39.00, testPostage1.CalculateRate(200, 48)); Assert.AreEqual(0.94, testPostage1.CalculateRate(20, 15)); Assert.AreEqual(1.60, testPostage1.CalculateRate(40, 7)); }
public void PostalService1Test() { PostalService1st postalService1Test = new PostalService1st(); Assert.AreEqual(4.7, postalService1Test.CalculateRate(100, 10)); }