(self)
| 1518 | """All is_* predicates from z3py.""" |
| 1519 | |
| 1520 | def test_is_expr_various(self): |
| 1521 | assert is_expr(Int("x")) |
| 1522 | assert is_expr(Bool("b")) |
| 1523 | assert is_expr(BitVec("v", 8)) |
| 1524 | assert is_expr(StringVal("s")) |
| 1525 | assert not is_expr(42) |
| 1526 | assert not is_expr("hello") |
| 1527 | |
| 1528 | def test_is_true_false(self): |
| 1529 | assert is_true(BoolVal(True)) |