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

Method test_enumerate_cyclics

graph_test.py:141–146  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

139 )
140
141 def test_enumerate_cyclics(self):
142 g = GraphTest.g
143
144 for a, b, c, d, x, y, z, t in g.all_cyclics():
145 self.assertTrue(g.check_cyclic([a, b, c, d, x, y, z, t]))
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

Callers

nothing calls this directly

Calls 2

all_cyclicsMethod · 0.80
check_cyclicMethod · 0.80

Tested by

no test coverage detected