def METHOD_NAME():
    # setup
    encode_dtype = "i1"
    decode_dtype = "i8"
    filters = [AsType(encode_dtype=encode_dtype, decode_dtype=decode_dtype)]
    chunks = 10
    chunk_size = 10
    shape = chunks * chunk_size
    data = np.arange(shape, dtype=decode_dtype)
    for compressor in compressors:
        a = array(data, chunks=chunks, compressor=compressor, filters=filters)
        # check round-trip
        assert data.dtype == a.dtype
        assert_array_equal(data, a[:])
        # check chunks
        for i in range(chunks):
            cdata = a.store[str(i)]
            if compressor:
                chunk = compressor.decode(cdata)
            else:
                chunk = cdata
            actual = np.frombuffer(chunk, dtype=encode_dtype)
            expect = data.astype(encode_dtype)[i * chunk_size : (i + 1) * chunk_size]
            assert_array_equal(expect, actual)