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

Method test_string_val

tests/test_z3_compat.py:1376–1380  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1374 assert isinstance(b, StringRef)
1375
1376 def test_string_val(self):
1377 s = StringVal("hello")
1378 assert is_string_value(s)
1379 assert isinstance(s._ast, StringLit)
1380 assert s._ast.val == "hello"
1381
1382 def test_string_concat(self):
1383 a = StringVal("hello")

Callers

nothing calls this directly

Calls 2

StringValFunction · 0.90
is_string_valueFunction · 0.90

Tested by

no test coverage detected