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.
It is not stated how non-string input names should be handled, and having multiple input types is a bad pratice overall.
Great done my friend! I love this kata :) nice story :)
Thanks for taking the time to fix this Issue :D
Fair point - I do seem to remember the example test cases being the wrong way round. In that case, you may want to file an Issue report to the official Codewars repo.
Interesting, I had used the insert example feature in the editor and modified accordingly. Thanks for letting me know of this issue.
Thanks for pointing that out, I had completely forgotten to change it.
Codewars Forums - Kata Best Practices - Have Full Code Coverage
Having only 6 fixed assertions in the entire test suite is far from sufficient to prevent logically flawed and/or hardcoded solutions from passing; please either (1) increase the number of unique, distinct fixed assertions to at least 20 including edge cases or (2) even better, write 100+ random tests which is generally preferred over just a large number of fixed tests.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
The date 14/09/2016 is still claiming to be Friday instead of Wednesday.
Can anyone tell me what the describe function syntax is for PHP? Or direct me to some documentation if there is any as I don't seem to be able to find any.
Could anyone tell me how the describe function works in PHP? I tried
describe("Tests", function(){ //test code });
with no luck. Or does anyone know where the PHP docs are (if there are any)?