This kata feels like: "please guess the operation to calculate the outcome" with no example provided on how things are being calculated.
Let's understand this one:
I don't get it, Lyanna borrowed 500 for personal expenses, thus Lyanna owes 500 to Elia. But she payed for a shared cost of 50. So it's 50/2 that's shared among the 2, so 25. 500-25=475...why does she owes Elia just 225?
This comment is hidden because it contains spoiler information about the solution
C# translation
The description should be reworded to describe under what condition, Elia owes Lyanna and vice-versa
Insufficient edge coverage in JavaScript.
This kata feels like: "please guess the operation to calculate the outcome" with no example provided on how things are being calculated.
Let's understand this one:
I don't get it, Lyanna borrowed 500 for personal expenses, thus Lyanna owes 500 to Elia. But she payed for a shared cost of 50. So it's 50/2 that's shared among the 2, so 25. 500-25=475...why does she owes Elia just 225?