Function proptest::collection::binary_heap
source · [−]pub fn binary_heap<T: Strategy>(
element: T,
size: impl Into<SizeRange>
) -> BinaryHeapStrategy<T> where
T::Value: Ord,
Expand description
Create a strategy to generate BinaryHeap
s containing elements drawn from
element
and with a size range given by size
.