(self)
| 783 | self._contains_point_fuzzer(poly.points, vector2.Vector2(3, 0), False, False) |
| 784 | |
| 785 | def test_contains_point_edge(self): |
| 786 | poly = polygon2.Polygon2([ (2, 3), (3, 5), (5, 4), (3, 2) ]) |
| 787 | |
| 788 | self._contains_point_fuzzer(poly.points, vector2.Vector2(4, 3), True, False) |
| 789 | self._contains_point_fuzzer(poly.points, vector2.Vector2(2.5, 2.5), True, False) |
| 790 | self._contains_point_fuzzer(poly.points, vector2.Vector2(4, 4.5), True, False) |
| 791 | |
| 792 | def test_contains_point_contained(self): |
| 793 | poly = polygon2.Polygon2([ (-3, -6), (-2, -3), (2, -2), (0, -5) ]) |
nothing calls this directly
no test coverage detected