(other_path, inside, inverted_inside)
| 75 | (Path([(0, 0), (0, 1), (1, 1), (1, 0), (0, 0)], closed=True), False, False), |
| 76 | (Path([(2, 2), (2, 3), (3, 3), (3, 2), (2, 2)], closed=True), False, False)]) |
| 77 | def test_contains_path(other_path, inside, inverted_inside): |
| 78 | path = Path([(0, 0), (0, 1), (1, 1), (1, 0), (0, 0)], closed=True) |
| 79 | assert path.contains_path(other_path) is inside |
| 80 | assert other_path.contains_path(path) is inverted_inside |
| 81 | |
| 82 | |
| 83 | def test_contains_points_negative_radius(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…