public void Fixed_Monthly_Payment_should_Work(decimal totalLoan, decimal interest, int years, decimal expected) { var result = MortgageMath.FixedMonthlyPayment(totalLoan, interest, years); Assert.AreEqual(expected, result); }
public void Power_Of_Integer_should_Work() { var result = MortgageMath.Power(2, 2); Assert.AreEqual(4, result); }