def test_equation(): l = LineSegment(Vector2(0, 0), Vector2(1, 1)) assert l.equation() == (1, 0)
def test_equation2(): l = LineSegment(Vector2(1, 0), Vector2(1, 5)) assert l.equation() is not None