Function proptest::collection::vec

source ·
pub fn vec<T: Strategy, S: Into<SizeRange>>(
    element: T,
    size: S
) -> VecStrategy<T>
Expand description

Create a strategy to generate Vecs containing elements drawn from element and with a size range given by size.