proptest::collection

Function 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 BinaryHeaps containing elements drawn from element and with a size range given by size.