(self)
| 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 |
nothing calls this directly
no test coverage detected