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 "Random number of spaces" test has words separated by 4 spaces:
In JS (at least), we may receive a string with spaces at the beginning. It doesn't match with the description :
You will be given a string with sets of characters, (i.e. words), seperated by between one and three spaces (inclusive).
Failing tests ought to display what the input was
it/describe ought to be called as decorators
(also, the test case generator code is repeated 4 times but whatever I guess)
Hi,
angles are in radians
while in the sample tests they seem to be in degrees.abs(x-y) < 0.001
, but this leads to several problems:In the end, this is the typical kind of idea that doesn't translate well into a kata... ;)
cheers