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

Method test_string_length

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

Source from the content-addressed store, hash-verified

1395 assert isinstance(c._ast, StrConcatNode)
1396
1397 def test_string_length(self):
1398 s = String("s")
1399 length = Length(s)
1400 assert is_int(length)
1401
1402 def test_contains(self):
1403 s = String("s")

Callers

nothing calls this directly

Calls 3

StringFunction · 0.90
LengthFunction · 0.90
is_intFunction · 0.90

Tested by

no test coverage detected