zebra_test::prelude::prop::array

Function uniform5

pub fn uniform5<S>(
    strategy: S,
) -> UniformArrayStrategy<S, [<S as Strategy>::Value; 5]>
where S: Strategy,
Expand description

Create a strategy to generate fixed-length arrays.

All values within the new strategy are generated using the given strategy. The length of the array corresponds to the suffix of the name of this function.

See UniformArrayStrategy for example usage.