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

Method test_calculate_y_intercept

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

Source from the content-addressed store, hash-verified

332 self.assertEqual('<1, 1> -> <3, 4>', str(self.line_1_1_3_4))
333
334 def test_calculate_y_intercept(self):
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))

Callers

nothing calls this directly

Calls 1

calculate_y_interceptMethod · 0.80

Tested by

no test coverage detected