Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Add test case to problem 114 Global take-while #245

Open
rigdern opened this Issue · 0 comments

1 participant

@rigdern

There should be a test case whose answer is the whole collection to catch solutions which forget to check when they reach the end of the collection. Example test case:

(= ["this" "is" "a" "sentence" "i" "wrote"]
   (__ 100 #{"a"}
         ["this" "is" "a" "sentence" "i" "wrote"]))

Currently, solutions which would run forever on this test case pass all of the existing tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.