def test_vector_simple():
    vec = geom.Vector(3, 4)
    assert vec
    assert vec.x == 3
    assert vec.y == 4
    assert vec.magnitude == 5.0
    assert vec.direction == math.atan2(-4, 3)

    assert vec == geom.Vector(3, 4)
    assert vec + 2 == geom.Vector(5, 6)
    assert 2 - vec == geom.Vector(1, 2)
    assert vec * 2 == geom.Vector(6, 8)
dataset/ETHPy150Open eevee/sanpera/sanpera/tests/test_geometry.py/test_vector_simple/swapped operands of `-`