public void PresentValueEnd() { decimal actual = LoanFunctions.PresentValue(rate, periods, periods, monthlyPayment, futureValue, type); Assert.AreEqual(futureValue, actual); }
public void PresentValueMid() { double actual = LoanFunctions.PresentValue(rate, periods, 42, monthlyPayment, futureValue, type); Assert.AreEqual(midValue, actual); }