Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BasisResearch/lean.py
/ test_substring
Method
test_substring
tests/test_z3_ported.py:1417–1420 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
1415
assert isinstance(r, StringRef)
1416
1417
def
test_substring(self):
1418
s = String(
"s"
)
1419
sub = SubString(s, 1, 3)
1420
assert isinstance(sub, StringRef)
1421
1422
def
test_indexof(self):
1423
s = String(
"s"
)
Callers
nothing calls this directly
Calls
2
String
Function · 0.90
SubString
Function · 0.90
Tested by
no test coverage detected