MCPcopy Index your code
hub / github.com/OmkarPathak/pygorithm / test_contains_point_contained

Method test_contains_point_contained

tests/test_geometry.py:792–797  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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) ])
794
795 self._contains_point_fuzzer(poly.points, vector2.Vector2(-1, -4), False, True)
796 self._contains_point_fuzzer(poly.points, vector2.Vector2(-1, -5), False, True)
797 self._contains_point_fuzzer(poly.points, vector2.Vector2(1, -3), False, True)
798
799 def _find_intersection_fuzzer(self, points1, points2, exp_touching, exp_overlap, exp_mtv):
800 if type(points1) != list:

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected