(arr, arg)
| 42 | |
| 43 | |
| 44 | def assert_arg_sorted(arr, arg): |
| 45 | # resulting array should be sorted and arg values should be unique |
| 46 | assert_equal(arr[arg], np.sort(arr)) |
| 47 | assert_equal(np.sort(arg), np.arange(len(arg))) |
| 48 | |
| 49 | |
| 50 | def _aligned_zeros(shape, dtype=float, order="C", align=None): |
no test coverage detected