I was wondering, in Kotlin, is there the possibility to call the equivalent of the java method:
assertEquals(double expected, double actual, double precision)
because everytime I'm getting this method instead
assertEquals(expected: T, actual: T, message: String)
And i can't find the one with the precision parameter. Calling the Java one should be fine too I guess.
My call to the method:
assertEquals(5000.00, calculateCouponAmount(basicFaceValue, basicInterestRate, amortizationBullet, couponNumber1), 0.01)
I'm getting an error because 0.01 gets in the "message" field