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.
This comment is hidden because it contains spoiler information about the solution
Fixed
Fixed
@anter69 could you check sailskisurf23 post above if you can edit this kata description?
Not editable if you don't create it as an issue (unless the author does it).
there is an error in the examples in the description
'abbbbc' => 'abc' # answer: 3
'abbcca' => 'abc' # answer: 2 ####### the error is here
'ab cca' => 'ab ca' # answer: 1
should be:
'abbcca' => 'abca'
booooooo
whoops, good call
spoiler flags... thx...
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
oh, ok thx
The error in your code is random by essence. So the only way to (have a good chance to) catch it is by having enough tests. That's the problem currently: not enough of them, by far... Feel free to update them (if you can) or to fork the original translation including new ones.
Thanks for your reply @Blind4Basics but I think I could not make myself understood.
My point was the test failed to catch the imcompleted solution if my code was not good enough.
The kata doesn't have sample test so it was natural to try attempt button several times to check if it passed.
And I could see others solution with getting the scores because I could pass the test.
I still think it is the problem unresolved.
there are NO sample tests, that's why. So nothing wrong with the tests.
Loading more items...