Skip to content

Commit

Permalink
test++
Browse files Browse the repository at this point in the history
  • Loading branch information
nihui committed Oct 25, 2023
1 parent 76419a8 commit f73cbae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_slice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ static int test_slice_0()
|| test_slice_indices(a[i], IntArrayMat(2, -24, -8), 0)
|| test_slice_indices(a[i], IntArrayMat(4, 20, 4), 1)
|| test_slice_indices(a[i], IntArrayMat(16, -16), -2)
|| test_slice_indices(a[i], IntArrayMat(-12), 3);
|| test_slice_indices(a[i], IntArrayMat(1, -12), 3);

if (ret != 0)
return ret;
Expand Down Expand Up @@ -165,7 +165,7 @@ static int test_slice_1()
|| test_slice(a[i], IntArrayMat(16, 4, 5, -233), -1)
|| test_slice_indices(a[i], IntArrayMat(2, -24, -8), 0)
|| test_slice_indices(a[i], IntArrayMat(4, 20, 4), 1)
|| test_slice_indices(a[i], IntArrayMat(-12), 2);
|| test_slice_indices(a[i], IntArrayMat(1, -12), 2);

if (ret != 0)
return ret;
Expand All @@ -192,7 +192,7 @@ static int test_slice_2()
|| test_slice(a[i], IntArrayMat(32, 8, -233), -2)
|| test_slice(a[i], IntArrayMat(2, 12, 16, -233), -1)
|| test_slice_indices(a[i], IntArrayMat(2, -24, -8), 0)
|| test_slice_indices(a[i], IntArrayMat(-12), 1);
|| test_slice_indices(a[i], IntArrayMat(1, -12), 1);

if (ret != 0)
return ret;
Expand Down

0 comments on commit f73cbae

Please sign in to comment.