Question: (python, java, Go land, and C) ) In the space below, write an automated test, in your language of choice(python, java, Go land, and C)
(python, java, Go land, and C)
) In the space below, write an automated test, in your language of choice(python, java, Go land, and C) and using a standard test
framework for that language. The function (or method) to test is called calculate_with_interest. The
function/method takes three parameters, the first is the starting balance, the second is the interest rate,
the third is the number of years the interest is compounded. (assume the old-fashioned way of
calculating interest yearly). The return value for the method is/should be a float/double representing the
final balance after the interest has been compounded into the balance for the specified number of years.
You are only writing the tests, not the method itself.
Include 2 unique assert statements in your test.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
