def METHOD_NAME(module, compressor):
    xp = ensure_module(module)
    z = full(
        100,
        chunks=10,
        fill_value=42,
        dtype="i4",
        compressor=compressor,
        meta_array=xp.empty(()),
    )
    assert (100,) == z.shape
    assert (10,) == z.chunks
    xp.testing.assert_array_equal(np.full(100, fill_value=42, dtype="i4"), z[:])
    # nan
    z = full(
        100,
        chunks=10,
        fill_value=np.nan,
        dtype="f8",
        compressor=compressor,
        meta_array=xp.empty(()),
    )
    assert np.all(np.isnan(z[:]))