(theta1, theta2)
| 527 | @pytest.mark.parametrize('theta1, theta2', [(0, -360), (0, -720), (360, 0), |
| 528 | (10, -350)]) |
| 529 | def test_arc_negative_full_circle(theta1, theta2): |
| 530 | # An exact negative multiple of 360 must draw a complete circle. |
| 531 | # The result is the same complete circle as the equivalent positive turn |
| 532 | # starting from *theta1* (so the assertion holds for non-cardinal starts). |
| 533 | np.testing.assert_allclose(Path.arc(theta1, theta2).vertices, |
| 534 | Path.arc(theta1, theta1 + 360).vertices) |
| 535 | |
| 536 | |
| 537 | def test_arc_unwrap_partial_turn(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…