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

Method test_contains

tests/test_z3_semantic.py:757–758  ·  view source on GitHub ↗
(self, kernel)

Source from the content-addressed store, hash-verified

755 assert _try_prove(SuffixOf(StringVal("abc"), StringVal("abc")))
756
757 def test_contains(self, kernel):
758 assert _try_prove(Contains(StringVal("abcdef"), StringVal("cde")))
759
760 def test_contains_empty(self, kernel):
761 assert _try_prove(Contains(StringVal("abc"), StringVal("")))

Callers

nothing calls this directly

Calls 3

_try_proveFunction · 0.90
ContainsFunction · 0.90
StringValFunction · 0.90

Tested by

no test coverage detected