Skip to content
Snippets Groups Projects
Commit c30369a7 authored by Frederik Hennig's avatar Frederik Hennig
Browse files

add more tests with negative slices

parent 5c53ab0f
1 merge request!429Iteration Slices: Extended GPU support + bugfixes
Pipeline #70422 passed with stages
in 2 minutes and 47 seconds
...@@ -62,6 +62,8 @@ def test_sliced_iteration(): ...@@ -62,6 +62,8 @@ def test_sliced_iteration():
make_slice[3, 2:-2], make_slice[3, 2:-2],
make_slice[2:-2:2, ::3], make_slice[2:-2:2, ::3],
make_slice[10:, :-5:2], make_slice[10:, :-5:2],
make_slice[-5:-1, -1],
make_slice[-3, -1]
], ],
) )
def test_numerical_slices(gen_config: CreateKernelConfig, xp, islice): def test_numerical_slices(gen_config: CreateKernelConfig, xp, islice):
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment