()
| 3510 | |
| 3511 | |
| 3512 | def test_vindex_merge(): |
| 3513 | from dask.array.core import _vindex_merge |
| 3514 | |
| 3515 | locations = [1], [2, 0] |
| 3516 | values = [np.array([[1, 2, 3]]), np.array([[10, 20, 30], [40, 50, 60]])] |
| 3517 | |
| 3518 | assert ( |
| 3519 | _vindex_merge(locations, values) |
| 3520 | == np.array([[40, 50, 60], [1, 2, 3], [10, 20, 30]]) |
| 3521 | ).all() |
| 3522 | |
| 3523 | |
| 3524 | def test_vindex_identity(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…