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

Method test_contains_point_false

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

Source from the content-addressed store, hash-verified

776 self.assertEqual(expected_contains, cont, msg=help_msg)
777
778 def test_contains_point_false(self):
779 poly = polygon2.Polygon2([ (1, 1), (2, 3), (4, 0) ])
780
781 self._contains_point_fuzzer(poly.points, vector2.Vector2(1, 2), False, False)
782 self._contains_point_fuzzer(poly.points, vector2.Vector2(4, 2), False, False)
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) ])

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected