Ad
  • Custom User Avatar

    Nobody here can see your code. I've changed the tests to properly compare the actual/expected values, so you should be able to reset the trainer and get useful feedback on test failure.

  • Custom User Avatar

    For some reason I misread your post and thought you were using Swift. I've edited the response for JS.

  • Custom User Avatar

    Always look to the sample tests. For example, the first test for JS is

    Test.expect( goodVsEvil('1 1 1 1 1 1', '1 1 1 1 1 1 1') === 'Battle Result: Evil eradicates all trace of Good', 'Evil should win' );
    

    and the right hand side of the equality statement is what you should be returning: namely, the string as in the problem description.