pub fn gen_slice_and_subview(
max_dims: usize,
max_len: usize,
) -> impl Strategy<Value = (Slice, Slice)>
Expand description
Generates a pair (base, subview)
where:
base
is a randomly shaped row-majorSlice
,subview
is a valid rectangular region withinbase
.