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

Method test_build_graph_points

graph_test.py:42–50  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

40 cls.g, _ = gh.Graph.build_problem(p, GraphTest.defs)
41
42 def test_build_graph_points(self):
43 g = GraphTest.g
44
45 all_points = g.all_points()
46 all_names = [p.name for p in all_points]
47 self.assertCountEqual(
48 all_names,
49 ['a', 'b', 'c', 'g', 'h', 'o', 'g1', 'g2', 'g3', 'h1', 'h2', 'h3'],
50 )
51
52 def test_build_graph_predicates(self):
53 gr = GraphTest.g

Callers

nothing calls this directly

Calls 1

all_pointsMethod · 0.80

Tested by

no test coverage detected