#pragma once #include #include void test_slice_1() { BEGIN_TEST(); UserSlice user_slice(5); Slice slice; user_slice.indices(100, &slice); assert_values_match(0, slice.start); assert_values_match(5, slice.stop); assert_values_match(1, slice.step); } void run_all_tests_ndarray_slice() { test_slice_1(); }