PaddedViews.jl
PaddedViews.jl copied to clipboard
make ranges in tests have correct indices
This PR was suggested by @nsajko in JuliaLang/julia#54825. Currently Julia compares ranges only by comparing their values, not their indices, although they should also be taken into account for AbstractVector
. Some tests in PaddedViews.jl rely on this special behavior. This PR makes sure that the ranges used in the tests have correct indices.
EDIT: text reworded