def test_no_ellipse(self, start, end):
     assert ellipse_param_span(start, end) == 0.0
 def test_elliptic_arc(self, start, end, expected):
     assert ellipse_param_span(start, end) == pytest.approx(expected)
 def span(self, s, e):
     return math.degrees(
         ellipse_param_span(math.radians(s), math.radians(e)))
 def test_full_ellipse(self, start, end):
     assert ellipse_param_span(start, end) == pytest.approx(math.tau)