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.
Looks good to me
Done.
A vertical tab is a ASCII character between 32 and 126. So it is intended to be there. Please change your code to accomadate this.
This random test inputs a vertical tab symbol into actual results, finding my solution as invalid. Example tests pass just fine.
Please "unroger" the random test, it is adding line endings that should not be there.
Since it appears the creator of this kata has disappeared, I have added a couple more fixed cases, example cases, and also random tests as well. I have also changed the description to be more clear. Please mark this as resolved if it is fine, otherwise let me know what else I should do. Thanks.
Done.
Random test cases are already added.
Random tests added, please resolve :D
Feel free to tell me what you would change of it and we will certainly consider it as we did before (it might already be changed, compared to what you saw before).
Okay, added a few more random tests to really get things rolling.
Is there a quick way to generate random tests? Or do you just mean create the randomly generated strings, and then add them as test cases?
I agree, add a number of (50-100) random generated strings to test.
Also, make sure the random tests include the full* range of special characters (including
".,:;{}[]<>?/|
etc.) to avoid this kind of solutions:* Basically, random strings should be generated from the whole range of ASCII characters between 32 and 126.
Can you elaborate? Thanks!
For a very beginner kata, I would rather avoid getting strange print statements if you want to try them.
Although non-ASCII characters do cause some troubles in Python 2 when it comes to string processing or if source encoding is not correctly set, for the purposes of this kata '$' doen't seem to have any advantages over '£'.
Loading more items...