You are correct, I'll make the appropriate update to account for the minimum remaining points a team can possibly score when determining a rank change.
Edit:
I have corrected the calculation and have also updated the examples to exercise the case you described.
Once again, you're correct. :)
I've made the necessary corrections to the Kata!
As you have suggested, I added some further examples showing some edge cases which better illustrate the full requirements.
You are correct, I'll make the appropriate update to account for the minimum remaining points a team can possibly score when determining a rank change.
Edit:
I have corrected the calculation and have also updated the examples to exercise the case you described.
Thanks, I've removed the JavaScript translation. It was an "inserted example" error on my part.