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

Method test_contains

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

Source from the content-addressed store, hash-verified

1400 assert is_int(length)
1401
1402 def test_contains(self):
1403 s = String("s")
1404 c = Contains(s, StringVal("abc"))
1405 assert isinstance(c._ast, StrContainsNode)
1406
1407 def test_prefix_suffix(self):
1408 s = String("s")

Callers

nothing calls this directly

Calls 3

StringFunction · 0.90
ContainsFunction · 0.90
StringValFunction · 0.90

Tested by

no test coverage detected