Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BasisResearch/lean.py
/ test_as_string
Method
test_as_string
tests/test_z3_ported.py:3151–3153 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
3149
assert v.as_long() == 0
3150
3151
def
test_as_string(self):
3152
v = IntVal(123)
3153
assert v.as_string() ==
"123"
3154
3155
def
test_natval_returns_intnumref(self):
3156
v = NatVal(5)
Callers
nothing calls this directly
Calls
2
IntVal
Function · 0.90
as_string
Method · 0.45
Tested by
no test coverage detected