2/7/2019
To anyone trying to solve this kata, the comments above are what you need.
Essentially use "compound interest on a daily basis, with the artificial daily rate p/360".
This would have been a good kata if this had been adequately explained.
The only way to make the test cases work is to consider compound interest on a daily basis, with the artificial daily rate p/360. No bank works like this in practice, so this kata needs A LOT more description.
You are right but if I change the tests now, it will invalidate allmost all C passed solution and I think it will be bad... I will change only the reference solution.
Thank you very much
2/7/2019
To anyone trying to solve this kata, the comments above are what you need.
Essentially use "compound interest on a daily basis, with the artificial daily rate p/360".
This would have been a good kata if this had been adequately explained.
The only way to make the test cases work is to consider compound interest on a daily basis, with the artificial daily rate p/360. No bank works like this in practice, so this kata needs A LOT more description.
You are indeed correct. Thanks for pointing this out!
You are right but if I change the tests now, it will invalidate allmost all C passed solution and I think it will be bad... I will change only the reference solution.
This comment is hidden because it contains spoiler information about the solution
This bank doesn't consider compound interest: its definition is the one given above.