Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
I really doubt that tests fail due to locale, this should not matter on Codewars (but maybe it does for some strange reason, but I cannot check at the moment). I suspect that at some point you call
double.Parse
with something strange, like an empty string, or an incorrectly processed string.Take a close look at the line 97 (commented as
//Alternative final
) and see what it tries to parse. From my (short) tests it seems that it can get some invalid strings to parse.After more than 2 years...
Yes that's true. Seems like the tests didn't cover that.