(self)
| 427 | assert_equal(res[i].shape, tgt[i].shape) |
| 428 | |
| 429 | def test_index_split_simple(self): |
| 430 | a = np.arange(10) |
| 431 | indices = [1, 5, 7] |
| 432 | res = array_split(a, indices, axis=-1) |
| 433 | desired = [np.arange(0, 1), np.arange(1, 5), np.arange(5, 7), |
| 434 | np.arange(7, 10)] |
| 435 | compare_results(res, desired) |
| 436 | |
| 437 | def test_index_split_low_bound(self): |
| 438 | a = np.arange(10) |
nothing calls this directly
no test coverage detected