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

Method test_bool_variables

tests/test_z3_ported.py:477–482  ·  view source on GitHub ↗

Guide: p, q, r = Bools('p q r')

(self)

Source from the content-addressed store, hash-verified

475 """From z3py guide: propositional logic."""
476
477 def test_bool_variables(self):
478 """Guide: p, q, r = Bools('p q r')"""
479 p, q, r = Bools("p q r")
480 assert is_bool(p)
481 assert is_bool(q)
482 assert is_bool(r)
483
484 def test_and_or_not(self):
485 p, q = Bools("p q")

Callers

nothing calls this directly

Calls 2

BoolsFunction · 0.90
is_boolFunction · 0.90

Tested by

no test coverage detected