MCPcopy Create free account
hub / github.com/BasisResearch/lean.py / test_add_rule

Method test_add_rule

tests/test_z3_ported.py:4142–4145  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

4140 assert isinstance(fp, Fixedpoint)
4141
4142 def test_add_rule(self):
4143 fp = Fixedpoint()
4144 fp.add_rule(BoolVal(True))
4145 assert len(fp._rules) == 1
4146
4147 def test_register_relation(self):
4148 fp = Fixedpoint()

Callers

nothing calls this directly

Calls 3

add_ruleMethod · 0.95
FixedpointClass · 0.90
BoolValFunction · 0.90

Tested by

no test coverage detected