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.
Whats good about this its easy to read, and if your password requirements were to change eg you need include a check for special characters, you can just add it to it without having to change the existing requirements or changing everything all at once.
This comment is hidden because it contains spoiler information about the solution
Thanks Voile, I split them out and added for loops for the random tests so that its not duplicating the random tests.
Ahh gotcha that makes perfect sense! thank you this was my first authored Kata so I will keep that in mind
Thanks scarecrw! I added more random tests for both positive and negitive test cases, and validated that they are not returning false positives. Same with the other languages as well.
Thank you Voile, updated to have empty string return empty string, made the initial code be decode instead of decoded, and added notes about undefined and null in description.
Thank you Voile for this great feedback,I updated the example tests to be a subset of the main tests so they should all match. I also added both random positive and negative tests
Thanks Voile, I will get this fixed!
Nice!