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.
Missing comma in the first sample test case!
Returning inconsistent datatypes is not a Best Practice. You could just as easily ask for a
""
return value (which would also be falsy).What are we to return when scores are equal? This is probably going to be a possibility when random testing is added.
First testcase
,
missing (in front of last 'Zeus Parker'): Test.assertEquals(nameGame('Alan Smith', 'Zeus Parker') 'Zeus Parker'...By the way... needs some random tests;-)