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

Method test_enumerate_midps

graph_test.py:148–153  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

146 self.assertTrue(nm.check_cyclic([a.num, b.num, c.num, d.num]))
147
148 def test_enumerate_midps(self):
149 g = GraphTest.g
150
151 for a, b, c in g.all_midps():
152 self.assertTrue(g.check_midp([a, b, c]))
153 self.assertTrue(nm.check_midp([a.num, b.num, c.num]))
154
155 def test_enumerate_circles(self):
156 g = GraphTest.g

Callers

nothing calls this directly

Calls 2

all_midpsMethod · 0.80
check_midpMethod · 0.80

Tested by

no test coverage detected