(self)
| 31 | cls.rules = pr.Theorem.from_txt_file('rules.txt', to_dict=True) |
| 32 | |
| 33 | def test_orthocenter_should_fail(self): |
| 34 | txt = 'a b c = triangle a b c; d = on_tline d b a c, on_tline d c a b ? perp a d b c' # pylint: disable=line-too-long |
| 35 | p = pr.Problem.from_txt(txt) |
| 36 | g, _ = gh.Graph.build_problem(p, DDARTest.defs) |
| 37 | |
| 38 | ddar.solve(g, DDARTest.rules, p, max_level=1000) |
| 39 | goal_args = g.names2nodes(p.goal.args) |
| 40 | self.assertFalse(g.check(p.goal.name, goal_args)) |
| 41 | |
| 42 | def test_orthocenter_aux_should_succeed(self): |
| 43 | txt = 'a b c = triangle a b c; d = on_tline d b a c, on_tline d c a b; e = on_line e a c, on_line e b d ? perp a d b c' # pylint: disable=line-too-long |
nothing calls this directly
no test coverage detected