(self)
| 2772 | |
| 2773 | class TestExtendedPredicates: |
| 2774 | def test_is_arith(self): |
| 2775 | assert is_arith(Int("x")) |
| 2776 | assert is_arith(Real("x")) |
| 2777 | assert is_arith(Nat("n")) |
| 2778 | assert not is_arith(Bool("b")) |
| 2779 | assert not is_arith(BitVec("v", 8)) |
| 2780 | |
| 2781 | def test_is_sort(self): |
| 2782 | assert is_sort(IntSort()) |