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

Method test_contains_empty

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

Source from the content-addressed store, hash-verified

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("")))
762
763 def test_contains_self(self, kernel):
764 assert _try_prove(Contains(StringVal("abc"), StringVal("abc")))

Callers

nothing calls this directly

Calls 3

_try_proveFunction · 0.90
ContainsFunction · 0.90
StringValFunction · 0.90

Tested by

no test coverage detected