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.
Should define what is "Arabic Numerals"
Nice kata! A couple of minor things you could improve:
yes, the leading zero not pass
rule should be part of the main description.Two things:
You say
a) between 0 - 65536 (compare from a mathematical point)
and alsowhen Input is '0' Output should be false
I think you should writebetween 1 - 65535
there or add a note stating the limits aren't included.The second thing is in the tests labels,
should return false when input bigger than 1
shouldn't it beshould return false when input bigger than 65535
?I've already done both changes, see if that's ok with you.
So, I started writing
Imagine my surprise when that didn't work! :P
Seriously, please specify more accurately we should compare numerically, and the bounds are inclusive ( "between" is used in the wild with inclusive and with exclusive bounds ).