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

Do recursive shrinking without recursive function calls #1

Closed
wants to merge 14 commits into from

Conversation

neithernut
Copy link
Owner

Originally BurntSushi#294.

cloudhead and others added 14 commits December 3, 2022 17:58
Heavily based on the tuples and vectors tests
> This cuts my prop test run-times nearly in half!
This allows users to fairly easily migrate from CoreRng::fill_byte() and
similar constructions without requiring them to fuss around with a new
SeedableRng (or copy-paste this boilerplate) when their slice is just
full of Arbitrary-able types.

Signed-off-by: Aleksa Sarai <[email protected]>
The seed still can't be set by QuickCheck users, but the new Gen
constructor is useful for other crates that use QuickCheck only for
its Arbitrary trait.

Closes BurntSushi#277
@neithernut neithernut closed this Dec 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants