def METHOD_NAME(tested_class):
    dim = Dimension([1, 2, 3])
    vec = tested_class(dim)
    with pytest.raises(RuntimeError):
        vec.add(1000, 0, 0)
    with pytest.raises(RuntimeError):
        vec.get(1000, 0)
    with pytest.raises(RuntimeError):
        vec.set(1000, 0, 0)
    with pytest.raises(RuntimeError):
        vec.add(0, 1000, 0)
    with pytest.raises(RuntimeError):
        vec.get(0, 1000)
    with pytest.raises(RuntimeError):
        vec.set(0, 1000, 0)
    vec.set(1, 1000)
    assert 1000 == vec.get(1)
    vec.add(1, 1000)
    assert 2000 == vec.get(1)