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.
Random Tests are already added. When i'm ready with the floating point issue the tests musst be renewed. I will extend the Random test part.
I testet offline and online and got no rounding problems. I round because of floating point errors. Don't know how to clarify this.
Maybe with a precision parameter.
Randomtests added.
It's my first cata, i will add random tests. I changed last sample test to n = -3 but unpublish,-> save - publish will go on showing wrong number 4. Sad!
Amazing Kata, thx!
Absolute annoying that we must guess which exception to be raised. Put a little more work into Kata's u created pls.
This comment is hidden because it contains spoiler information about the solution