zebra_test::prelude::prop::collection

Function linked_list

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

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