def METHOD_NAME(tested_class):
    dim = Dimension([1, 2, 3])
    vec = tested_class(dim)
    vec.set(0, 5)
    vec.set(0, 5) # Deliberately doing this twice.
    vec.set(2, 2, 7)
    assert vec.get(0) == 5
    assert vec.get(2, 2) == 7