proptest::array

Function uniform

source
pub fn uniform<S: Strategy, const N: usize>(
    strategy: S,
) -> UniformArrayStrategy<S, [S::Value; N]>
Expand description

Create a strategy to generate fixed-length arrays.

All values within the new strategy are generated using the given strategy.

See UniformArrayStrategy for example usage.