MCPcopy 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

IntFunction · 0.90
ToRealFunction · 0.90
is_realFunction · 0.90

Tested by

no test coverage detected