def METHOD_NAME(tested_class):
    dim = Dimension([1, 2, 3])
    vec = tested_class(dim)
    for h in range(vec.nirrep()):
        for i in range(vec.dim(h)):
            vec.set(h, i, 10 * h + i)
    my_slice = Slice(Dimension([0, 1, 0]), Dimension([0, 2, 1]))
    block = tested_class(Dimension([0, 1, 1]))
    block.set(1, 0, 5)
    block.set(2, 0, 10)
    vec.set_block(my_slice, block)
    assert vec.get(1, 1) == 5
    assert vec.get(2, 0) == 10