Ad
  • Custom User Avatar

    I've been having plenty of Swift 4 vs. Swift 3.1.1 issues. Great practice in both versions of Swift and building my own tests. Keep on swimming.

    Swift 3: myString.characters.count
    Swift 4: myString.count

    Remember that Swift 4 String is collection of Characters, but Swift 3 is not. (see "string".characters) These plus other testing issues may block success.

  • Custom User Avatar

    See if your program works on this input: [-12, -15]

  • Default User Avatar

    Unfortunately for you there are no errors in the tests. Have you thought of possible edge cases? Have you look at the top of the page how many guys passed the kata? Don't you mutate the input?

  • Default User Avatar

    If you want to post an issue about bugs in the tests you have to tell where the tests are wrong.