MCPcopy Create free account
hub / github.com/google-deepmind/alphageometry / test_sketch_quadrange

Method test_sketch_quadrange

numericals_test.py:195–198  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

193 self.assertAlmostEqual(ang_between(b, a, c), ang_between(c, b, a))
194
195 def test_sketch_quadrange(self):
196 a, b, c, d = nm.sketch_quadrangle([])
197 self.assertTrue(Line(a, c).diff_side(b, d))
198 self.assertTrue(Line(b, d).diff_side(a, c))
199
200 def test_sketch_r_trapezoid(self):
201 a, b, c, d = nm.sketch_r_trapezoid([])

Callers

nothing calls this directly

Calls 2

diff_sideMethod · 0.80
LineClass · 0.70

Tested by

no test coverage detected