Function proptest::collection::binary_heap [] [src]

pub fn binary_heap<T: Strategy + 'static>(
    element: T,
    size: Range<usize>
) -> BoxedStrategy<BinaryHeap<<T::Value as ValueTree>::Value>> where
    <T::Value as ValueTree>::Value: Ord

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