Skip to content

Add convenience methods for primitive streams to Description.uses #92

Description

@Maia-Everett

Right now, to write an it.uses declaration iterating over a range of ints, I have to write:

it.uses(IntStream.rangeClosed(low, high).mapToObj(x -> x)).toShow((expect, number) -> ...);

It would be nice if there was a uses declaration accepting IntStream directly (and perhaps LongStream and DoubleStream) so that the mapToObj call could be omitted, reducing clutter.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions