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.
This comment is hidden because it contains spoiler information about the solution
Thanks for the Console.WriteLine() advice. I didn't know we could use it for logging here in CodeWars.
Kata is now completed (forgot one Console.WriteLine line at the beginning :))
The negative zero problem seems to be gone. But now I got a new error:
✔ 8 assertions passed
✘ Expected string length 14 but was 13. Strings differ at index 0.
Expected: "-195595/564071"
But was: "195595/564071"
-----------^
This input is not included in tests, therefore I can't reproduce it to see what the new problem is. Can you please add it?
✘ It should work for random inputs too
Expected string length 6 but was 3. Strings differ at index 0.
Expected: "-0 1/5"
But was: "1/5"
-----------^
Man, there's no such thing as a negative zero. Fix this please.