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

Method test_sketch_eqangle2

numericals_test.py:177–182  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

175 self.assertTrue(check_eqangle([x, a, x, b, d, e, d, f]))
176
177 def test_sketch_eqangle2(self):
178 a, b, c = random_points(3)
179 x = nm.sketch_eqangle2([a, b, c])
180 ang1 = ang_between(a, b, x)
181 ang2 = ang_between(c, x, b)
182 self.assertAlmostEqual(ang1, ang2)
183
184 def test_sketch_edia_quadrangle(self):
185 a, b, c, d = nm.sketch_eqdia_quadrangle([])

Callers

nothing calls this directly

Calls 2

random_pointsFunction · 0.85
ang_betweenFunction · 0.85

Tested by

no test coverage detected