proptest::array

Function uniform10

source
pub fn uniform10<S: Strategy>(
    strategy: S,
) -> UniformArrayStrategy<S, [S::Value; 10]>
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.