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

Method test_string_literal

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

Source from the content-addressed store, hash-verified

1378 """String theory operations."""
1379
1380 def test_string_literal(self):
1381 s = StringVal("hello")
1382 assert isinstance(s._ast, StringLit)
1383 assert s._ast.val == "hello"
1384 assert is_string_value(s)
1385
1386 def test_string_variable(self):
1387 s = String("s")

Callers

nothing calls this directly

Calls 2

StringValFunction · 0.90
is_string_valueFunction · 0.90

Tested by

no test coverage detected