Function proptest::collection::vec
source · pub fn vec<T: Strategy>(element: T, size: impl Into<SizeRange>) -> VecStrategy<T>
Expand description
Create a strategy to generate Vec
s containing elements drawn from
element
and with a size range given by size
.