def METHOD_NAME():
    orig_data = np.random.randint(-1 << 31, 1 << 31, size=DATA_SIZE, dtype=np.int32)
    orig_offsets = np.random.randint(1 << 63, size=DATA_SIZE + 1, dtype=np.uint64)
    orig_validity = np.random.randint(1 << 7, size=DATA_SIZE + 1, dtype=np.uint8)
    ovs = [
        (orig_data, None, None),
        (orig_data, orig_offsets, None),
        (orig_data, orig_offsets, orig_validity),
    ]
    for ov in ovs:
        data, offsets, validity = ov
        buf = clib.ColumnBuffer(
            "buf", clib.DataType.INT32, len(data), data, offsets, validity
        )
        assert np.array_equal(buf.data(), data)
        assert np.array_equal(buf.offsets(), offsets)
        assert np.array_equal(buf.validity(), validity)