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

Method test_is_bool

tests/test_z3_compat.py:1032–1034  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1030 assert not is_real(Int("x"))
1031
1032 def test_is_bool(self):
1033 assert is_bool(Bool("a"))
1034 assert not is_bool(Int("x"))
1035
1036 def test_is_bv(self):
1037 assert is_bv(BitVec("x", 8))

Callers

nothing calls this directly

Calls 3

is_boolFunction · 0.90
BoolFunction · 0.90
IntFunction · 0.90

Tested by

no test coverage detected