proptest::collection

Function linked_list

source
pub fn linked_list<T: Strategy>(
    element: T,
    size: impl Into<SizeRange>,
) -> LinkedListStrategy<T>
Expand description

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