Function proptest_quickcheck_interop::from_qc_sized [] [src]

pub fn from_qc_sized<A: Arbitrary + Debug>(size: usize) -> QCStrategy<A>

Constructs a new Strategy for any type that implements quickcheck's Arbitrary trait as well as Debug. You may use this to gain interoperability by reusing implementations of Arbitrary that you've already defined for some type.

Using this version, you may provide a size parameter controlling the size of inputs. This parameter is passed to the implementation of Arbitrary.