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.
In random test my code output correct answer but I get error:
block in do_it_min_umbrellas'
step'each'
do_it_min_umbrellas'block (3 levels) in '
each'`block (2 levels) in
'
Done. If you have any proposals, let me know please
A positive integer is never < 0...
Hi, adrian.eyre. Could you reopen your translation of "Whose bicycle?" kata? The system didn't allow me do it becuase of recent changes in that kata.
So if we have any character on negative position, we should return false.
Hi, guys. I've fixed it.
Description says positive integer. Nonetheless, there is a positive ("E") at position for the example I gave, but it expects false, so the test fails. Happens 9 times (with my code). Most tests pass, though. Thanks.
I mean, when you have vowel in negative position in your test it "false"
This isnt a bug, its a standard feature in Ruby :-)
Are you coding in Ruby? If so be aware of negative numbers when used in string positions :-)
Spec was copied from the original Javascript version. @Linis222 do you want me to update random tests or are you updating the description. Currently the tests expect to have false returned anything less than 0
Ruby random tests use negative indices but it's not specified what should be returned in this case.
You have a bug in test system. In Ruby you can use negative index to count from end of array.
Have the same issue. Help! I need somebody help!