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

Method test_is_true_false

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

Source from the content-addressed store, hash-verified

1526 assert not is_expr("hello")
1527
1528 def test_is_true_false(self):
1529 assert is_true(BoolVal(True))
1530 assert is_false(BoolVal(False))
1531 assert not is_true(BoolVal(False))
1532 assert not is_false(BoolVal(True))
1533 assert not is_true(Int("x"))
1534
1535 def test_is_sort_types(self):
1536 assert is_int(Int("x"))

Callers

nothing calls this directly

Calls 4

is_trueFunction · 0.90
BoolValFunction · 0.90
is_falseFunction · 0.90
IntFunction · 0.90

Tested by

no test coverage detected