Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement booleans() and just() as sampled_from() for better collections #2122

Merged
merged 1 commit into from Oct 9, 2019

Commits on Oct 9, 2019

  1. just(x) as a sampled_from strategy

    While kinda weird on the face of it, this makes generating unique collections a *lot* more efficient in certain unusual cases, and the overhead is roughly nil.
    Zac-HD committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    61091b7 View commit details
    Browse the repository at this point in the history