def test_closed_arrow(): a = arrow2(3, 60, 45) assert len(a) == 4 assert close_vectors(a, [(-3, 1.5), (0, 0), (-3, -1.5), (-1.5, 0)])
def test_closed_arrow(): a = arrow2(3, 60, 45) assert len(a) == 4 assert a == (Vec3(-3, 1.5), Vec3(0, 0), Vec3(-3, -1.5), Vec3(-1.5, 0))