Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_bool
Function · 0.90
Bool
Function · 0.90
Int
Function · 0.90
Tested by
no test coverage detected