Exemplo n.º 1
0
        public void Loan_ServiceTest()
        {
            Loans test            = new Loans();
            float actualResults   = test.LoanPayment(15000, 8, 12);
            float expectedResults = (float)1304.83;

            Assert.AreEqual(expectedResults, actualResults);
        }
Exemplo n.º 2
0
 public void Loan_CheckException()
 {
     Loans test          = new Loans();
     float actualResults = test.LoanPayment(-1, 8, 12);
 }