BurntSushi / BurntSushi/quickcheck

add back a way to put a bound on numbers generated

Open
#267 14 comments 9 reactions 1 assignee Claimed by @BurntSushi View on GitHub
Dominant language
Rust
Stars
2.8k
Forks
165
PR merge metrics
No merged PRs in 30d

Description

It turns out that the tests inside byteorder were designed around the ability to control the bounds of integers generated and there is no easy way to adapt them to quickcheck 1.0 without this ability. I think we can just add a `bound` mutator on `Gen` that is by default not set.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.