MCPcopy Create free account
hub / github.com/dask/dask / test_slice_singleton_value_on_boundary

Function test_slice_singleton_value_on_boundary

dask/array/tests/test_slicing.py:175–177  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

173
174
175def test_slice_singleton_value_on_boundary():
176 assert _slice_1d(15, [5, 5, 5], 10) == {2: 0}
177 assert _slice_1d(30, (5, 5, 5, 5, 5, 5), 10) == {2: 0}
178
179
180def test_slice_array_1d():

Callers

nothing calls this directly

Calls 1

_slice_1dFunction · 0.90

Tested by

no test coverage detected