Ad
  • Custom User Avatar

    Missing comma in the first sample test case!

  • Custom User Avatar

    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.

  • Custom User Avatar

    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;-)