def METHOD_NAME(vec_length, max_size):
    def _make_vector(length):
        vector = []
        for i in range(length):
            obj = IntImm("int32", i)
            vector.append(obj)
        return vector
    vector = _make_vector(vec_length)
    reference = list(_ref_thin_vector(np.array(vector), max_size))
    result = _thin_vector(vector, max_size)
    assert result == reference