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

Method test_contains_ground

tests/test_z3_compat.py:1678–1681  ·  view source on GitHub ↗

abc' contains 'bc'.

(self, kernel)

Source from the content-addressed store, hash-verified

1676 assert _try_prove(claim)
1677
1678 def test_contains_ground(self, kernel):
1679 """'abc' contains 'bc'."""
1680 claim = Contains(StringVal("abc"), StringVal("bc"))
1681 assert _try_prove(claim)
1682
1683 def test_string_length_ground(self, kernel):
1684 """len('hello') == len('world')."""

Callers

nothing calls this directly

Calls 3

ContainsFunction · 0.90
StringValFunction · 0.90
_try_proveFunction · 0.90

Tested by

no test coverage detected