MCPcopy Create free account
hub / github.com/BasisResearch/lean.py / test_substring

Method test_substring

tests/test_z3_compat.py:1418–1421  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1416 assert isinstance(r, StringRef)
1417
1418 def test_substring(self):
1419 s = String("s")
1420 sub = SubString(s, 1, 3)
1421 assert isinstance(sub, StringRef)
1422
1423 def test_indexof(self):
1424 s = String("s")

Callers

nothing calls this directly

Calls 2

StringFunction · 0.90
SubStringFunction · 0.90

Tested by

no test coverage detected