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.
JS Node 18. (
mocha + chai
) should be enabledRandom test cases should use python's version to cover wider cases
As mentioned below, it's pointless to use both range
0.01-1
and1-100
.Moreover, as the spec currently is the case
1
is ambiguous, which means the spec is really terrible.There is only 1 random test, and it's always an integer between 0 to 100 with number of throws = 1.
Did you add such a strange requirement because you don't actually know JS at all and can't even write things such as basic random tests?