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_ported.py:2270–2273 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
2268
assert isinstance(r._ast, IteNode)
2269
2270
def
test_toreal(self):
2271
x = Int(
"x"
)
2272
r = ToReal(x)
2273
assert is_real(r)
2274
2275
def
test_toint(self):
2276
x = Real(
"x"
)
Callers
nothing calls this directly
Calls
3
Int
Function · 0.90
ToReal
Function · 0.90
is_real
Function · 0.90
Tested by
no test coverage detected