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

Method test_last_index_of

tests/test_z3_ported.py:4298–4302  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

4296
4297class TestStringRegexExtras:
4298 def test_last_index_of(self):
4299 s = String("s")
4300 t = String("t")
4301 result = LastIndexOf(s, t)
4302 assert isinstance(result, ArithRef)
4303
4304 def test_str_to_code(self):
4305 s = StringVal("a")

Callers

nothing calls this directly

Calls 2

StringFunction · 0.90
LastIndexOfFunction · 0.90

Tested by

no test coverage detected