Skip to content
This repository was archived by the owner on Dec 30, 2025. It is now read-only.
This repository was archived by the owner on Dec 30, 2025. It is now read-only.

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

@rigdern

Description

@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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions