Needs description example or example test with add_-5 ( or similar negative value ). It's perfectly valid, it's within the spec, but it comes as a surprise in Submit Tests now, and surprises in Submit Tests are ++UnGood.
I will temporarily unpublish the kata because it's missing random tests. Random tetss are a requirement for Codewars challenges. You can also use following resources for ideas how to improve your challenge:
Needs description example or example test with
add_-5
( or similar negative value ). It's perfectly valid, it's within the spec, but it comes as a surprise in Submit Tests now, and surprises in Submit Tests are++UnGood
.functional programming
tag, you may want to showcase actual functional programming in your example solution.I will temporarily unpublish the kata because it's missing random tests. Random tetss are a requirement for Codewars challenges. You can also use following resources for ideas how to improve your challenge:
The best one xD