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

rigdern opened this Issue Aug 8, 2013 · 0 comments

1 participant


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