(self)
| 3529 | assert_equal(sortedx, array([-1, 0], dtype=np.int8)) |
| 3530 | |
| 3531 | def test_stable_sort(self): |
| 3532 | x = array([1, 2, 3, 1, 2, 3], dtype=np.uint8) |
| 3533 | expected = array([0, 3, 1, 4, 2, 5]) |
| 3534 | computed = argsort(x, kind='stable') |
| 3535 | assert_equal(computed, expected) |
| 3536 | |
| 3537 | def test_argsort_matches_sort(self): |
| 3538 | x = array([1, 4, 2, 3], mask=[0, 1, 0, 0], dtype=np.uint8) |
nothing calls this directly
no test coverage detected