Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BasisResearch/lean.py
/ test_toreal
Method
test_toreal
tests/test_z3_compat.py:972–976 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
970
assert isinstance(r._ast, IteNode)
971
972
def
test_toreal(self):
973
x = Int(
"x"
)
974
r = ToReal(x)
975
assert isinstance(r._ast, ToRealNode)
976
assert r.sort() == RealSort()
977
978
def
test_toint(self):
979
x = Real(
"x"
)
Callers
nothing calls this directly
Calls
4
Int
Function · 0.90
ToReal
Function · 0.90
RealSort
Function · 0.90
sort
Method · 0.45
Tested by
no test coverage detected