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

Method test_are_parallel

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

Source from the content-addressed store, hash-verified

335 self.assertAlmostEqual(-1, self.line_1_1_3_4.calculate_y_intercept(self.vec_1_1))
336
337 def test_are_parallel(self):
338 self.assertFalse(line2.Line2.are_parallel(self.line_origin_1_1, self.line_1_1_3_4))
339
340 _line = line2.Line2(vector2.Vector2(5, 4), vector2.Vector2(3, 1))
341 self.assertTrue(line2.Line2.are_parallel(self.line_1_1_3_4, _line))
342
343 def _find_intr_fuzzer(self, v1, v2, v3, v4, exp_touching, exp_overlap, exp_intr, number_fuzzes = 3):
344 for i in range(number_fuzzes):

Callers

nothing calls this directly

Calls 1

are_parallelMethod · 0.80

Tested by

no test coverage detected