MCPcopy Index your code
hub / github.com/pydata/xarray / test_get_new_tile_ids

Method test_get_new_tile_ids

xarray/tests/test_combine.py:296–302  ·  view source on GitHub ↗
(self, create_combined_ids)

Source from the content-addressed store, hash-verified

294 assert _new_tile_id((old_id, ds)) == new_id
295
296 def test_get_new_tile_ids(self, create_combined_ids):
297 shape = (1, 2, 3)
298 combined_ids = create_combined_ids(shape)
299
300 expected_tile_ids = sorted(combined_ids.keys())
301 actual_tile_ids = _create_tile_ids(shape)
302 assert expected_tile_ids == actual_tile_ids
303
304
305class TestCombineND:

Callers

nothing calls this directly

Calls 3

create_combined_idsFunction · 0.85
_create_tile_idsFunction · 0.85
keysMethod · 0.80

Tested by

no test coverage detected