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.
C# random test
It should work for random inputs too
Expected string length 2 but was 1. Strings differ at index 0.
Expected: "-0"
But was: "0"
Awesome kata!!! Was really fun to solve :)
Nice kata, that sign before zero was killing me ;).
The random tests are broken (Ruby):
Testing for mixed_fraction(973816/-835922)
It should work for random inputs too - Expected: "1 68947/417961", instead got: "-1 68947/417961"
Testing for mixed_fraction(-67347/602450)
It should work for random inputs too - Expected: "67347/602450", instead got: "-67347/602450"
also the sign problem for random inputs
Testing for mixed_fraction(474690/-834562)
✘ It should work for random inputs too - Expected: "237345/417281", instead got: "-237345/417281"
Testing for mixed_fraction(430664/-898557)
✘ It should work for random inputs too - Expected: "430664/898557", instead got: "-430664/898557"
Kudos for working out the actual formula and not just finding the conversion ratio