(self)
| 472 | compare_results(res, desired) |
| 473 | |
| 474 | def test_index_split_high_bound(self): |
| 475 | a = np.arange(10) |
| 476 | indices = [0, 5, 7, 10, 12] |
| 477 | res = array_split(a, indices, axis=-1) |
| 478 | desired = [np.array([]), np.arange(0, 5), np.arange(5, 7), |
| 479 | np.arange(7, 10), np.array([]), np.array([])] |
| 480 | compare_results(res, desired) |
| 481 | |
| 482 | |
| 483 | class TestSplit: |
nothing calls this directly
no test coverage detected