zebra_test::prelude::prop::collection

Function binary_heap

pub fn binary_heap<T>(
    element: T,
    size: impl Into<SizeRange>,
) -> BinaryHeapStrategy<T>
where T: Strategy, <T as Strategy>::Value: Ord,
Expand description

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