BurntSushi / quickcheck

Automated property based testing for Rust (with shrinking).
The Unlicense
2.4k stars 149 forks source link

impl<T: Arbitrary> Arbitrary for Bound<T> #236

Closed cuviper closed 5 years ago

cuviper commented 5 years ago

Oh, the example fails on 1.30 because RangeBounds::contains was only added in 1.35. I guess I can mimic that functionality manually.