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 is not how you do random tests. The outputs should be random, so you should also vary between known and unknown contacts. This way, the expected value is still ( somewhat ) predictable, because the logic is not fully dependent on the input.
Corrected typo and added random tests, let me know if looks okay. Thanks again - first Kata so really appreciate the help - learning a lot!
Thanks!
You hava a typo on the exception example of Secret Cat:
catflap(02011118,'Meyowwwww ;-)') // 'Secret Cat messaged:Meyowwwww ;-)'
the tests expect an space after the:
No random tests.
Maybe
song[i]
isnil
? ;-)This comment is hidden because it contains spoiler information about the solution