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

Method test_concat

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

Source from the content-addressed store, hash-verified

720 """Ground string proofs."""
721
722 def test_concat(self, kernel):
723 assert _try_prove(
724 StrConcat(StringVal("hello"), StringVal(" world")) == StringVal("hello world")
725 )
726
727 def test_length(self, kernel):
728 assert _try_prove(Length(StringVal("hello")) == IntVal(5))

Callers

nothing calls this directly

Calls 3

_try_proveFunction · 0.90
StrConcatFunction · 0.90
StringValFunction · 0.90

Tested by

no test coverage detected