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

Method test_string_concat_operator

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

Source from the content-addressed store, hash-verified

1389 assert is_var(s)
1390
1391 def test_string_concat_operator(self):
1392 a = StringVal("hello")
1393 b = StringVal(" world")
1394 c = a + b
1395 assert isinstance(c._ast, StrConcatNode)
1396
1397 def test_string_length(self):
1398 s = String("s")

Callers

nothing calls this directly

Calls 1

StringValFunction · 0.90

Tested by

no test coverage detected