(self)
| 52 | assert_combined_tile_ids_equal(expected, actual) |
| 53 | |
| 54 | def test_2d(self): |
| 55 | ds = create_test_data |
| 56 | input = [[ds(0), ds(1)], [ds(2), ds(3)], [ds(4), ds(5)]] |
| 57 | |
| 58 | expected = { |
| 59 | (0, 0): ds(0), |
| 60 | (0, 1): ds(1), |
| 61 | (1, 0): ds(2), |
| 62 | (1, 1): ds(3), |
| 63 | (2, 0): ds(4), |
| 64 | (2, 1): ds(5), |
| 65 | } |
| 66 | actual: dict[tuple[int, ...], Dataset] = _infer_concat_order_from_positions( |
| 67 | input |
| 68 | ) |
| 69 | assert_combined_tile_ids_equal(expected, actual) |
| 70 | |
| 71 | def test_3d(self): |
| 72 | ds = create_test_data |
nothing calls this directly
no test coverage detected