hard20 pts · first answer countstest-designcalculationstest-oracle
Expected EMI as a test oracle
A loan calculator shows the EMI for ₹1,00,000 at 12% a year for 12 months. Using EMI = P·r·(1+r)ⁿ / ((1+r)ⁿ − 1) with monthly rate r, what value should the test expect (rounded)?
Discussion 0
Join free to post in the discussion.