()
| 38 | |
| 39 | |
| 40 | def test_full(): |
| 41 | a = da.full((3, 3), 100, chunks=(2, 2), dtype="i8") |
| 42 | |
| 43 | assert (a.compute() == 100).all() |
| 44 | assert a.dtype == a.compute(scheduler="sync").dtype == "i8" |
| 45 | |
| 46 | assert a.name.startswith("full_like-") |
| 47 | |
| 48 | |
| 49 | def test_full_error_nonscalar_fill_value(): |