Ad
  • Custom User Avatar

    Rules and assertions

    • All test arrays will be 2+ in length

    The specs say that case must not exist. Which makes it perfectly valid to optimise for the specs, and check the base case after the first iteration.