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

Method test_contains

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

Source from the content-addressed store, hash-verified

1393 assert isinstance(length._ast, StrLenNode)
1394
1395 def test_contains(self):
1396 s = String("s")
1397 t = StringVal("abc")
1398 c = Contains(s, t)
1399 assert isinstance(c._ast, StrContainsNode)
1400
1401 def test_prefix_of(self):
1402 s = String("s")

Callers

nothing calls this directly

Calls 3

StringFunction · 0.90
StringValFunction · 0.90
ContainsFunction · 0.90

Tested by

no test coverage detected