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

Method test_contains_point_false

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

Source from the content-addressed store, hash-verified

516 self.assertEqual(-1, mtv[2])
517
518 def test_contains_point_false(self):
519 _aal1 = axisall.AxisAlignedLine(self.vec_1_1, 0, 1)
520
521 outer, inner = axisall.AxisAlignedLine.contains_point(_aal1, -1)
522 self.assertFalse(outer)
523 self.assertFalse(inner)
524
525 outer, inner = axisall.AxisAlignedLine.contains_point(_aal1, 1.5)
526 self.assertFalse(outer)
527 self.assertFalse(inner)
528
529 def test_contains_point_outer(self):
530 _aal1 = axisall.AxisAlignedLine(self.vec_1_1, 0, 1)

Callers

nothing calls this directly

Calls 1

contains_pointMethod · 0.45

Tested by

no test coverage detected