public void TestDaysDueFew() { RentAmountDueCalc obj = new RentAmountDueCalc(); int PayableRentAmount = obj.Calculate(100, 1); Assert.AreEqual(102, PayableRentAmount); }
public void TestDaysDueExtreme() { RentAmountDueCalc obj = new RentAmountDueCalc(); int PayableRentAmount = obj.Calculate(100, 1422); Assert.AreEqual(14320, PayableRentAmount); }
public void TestDaysDueAverage() { RentAmountDueCalc obj = new RentAmountDueCalc(); int PayableRentAmount = obj.Calculate(100, 15); Assert.AreEqual(175, PayableRentAmount); }
public void TestDaysDueMany() { RentAmountDueCalc obj = new RentAmountDueCalc(); int PayableRentAmount = obj.Calculate(100, 32); Assert.AreEqual(420, PayableRentAmount); }