(self)
| 443 | compare_results(res, desired) |
| 444 | |
| 445 | def test_index_split_high_bound(self): |
| 446 | a = np.arange(10) |
| 447 | indices = [0, 5, 7, 10, 12] |
| 448 | res = array_split(a, indices, axis=-1) |
| 449 | desired = [np.array([]), np.arange(0, 5), np.arange(5, 7), |
| 450 | np.arange(7, 10), np.array([]), np.array([])] |
| 451 | compare_results(res, desired) |
| 452 | |
| 453 | |
| 454 | class TestSplit: |
nothing calls this directly
no test coverage detected