Ad
  • Custom User Avatar

    Hi, yes tested my own solution with the challenge raised in issue, they do essentially boil down to the same problem. Not a complete waste of time though as I have learnt more about the authoring and testing process.

  • Custom User Avatar

    Thanks, updated and used shorter example in description so easier to read

  • Custom User Avatar

    Ok thanks put in loop and added multiple random tests, good tip for next time.

  • Custom User Avatar

    Hi FArekkusu,

    My first time writing tests for codewars so just getting my head round it, but good idea i'll do a re-write within a for loop.

  • Custom User Avatar

    Thank you for your feedback, I have implemented some random tests that will give unique string inputs. If this is not deemed novel enough to be a Kata I have a second stage prepared where the first parameter accepts any string (instead of just 'frog') and the second argument is the search string. Would this be a more novel challenge? I went for this one first as easier to test as a beginner.

  • Custom User Avatar

    Hi this is my first kata, happy to research and implement random tests.