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:
baseis a randomly shaped row-majorSlice,subviewis a valid rectangular region withinbase.