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

Method test_string_free_vars

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

Source from the content-addressed store, hash-verified

1447 assert is_string_value(r)
1448
1449 def test_string_free_vars(self):
1450 s = String("s")
1451 t = String("t")
1452 expr = Contains(s, t)
1453 assert len(expr._vars) == 2
1454
1455 def test_const_with_string_sort(self):
1456 s = Const("s", StringSort())

Callers

nothing calls this directly

Calls 2

StringFunction · 0.90
ContainsFunction · 0.90

Tested by

no test coverage detected