()
| 25 | |
| 26 | |
| 27 | def test_imread(): |
| 28 | with random_images(4, (5, 6, 3)) as globstring: |
| 29 | im = da_imread(globstring) |
| 30 | assert im.shape == (4, 5, 6, 3) |
| 31 | assert im.chunks == ((1, 1, 1, 1), (5,), (6,), (3,)) |
| 32 | assert im.dtype == "uint8" |
| 33 | |
| 34 | assert im.compute().shape == (4, 5, 6, 3) |
| 35 | assert im.compute().dtype == "uint8" |
| 36 | |
| 37 | |
| 38 | def test_imread_with_custom_function(): |
nothing calls this directly
no test coverage detected