(self)
| 242 | |
| 243 | class TestExprBuilding: |
| 244 | def test_int_var(self): |
| 245 | x = Int("x") |
| 246 | assert isinstance(x._ast, Var) and x._ast.name == "x" |
| 247 | assert x.sort() == IntSort() |
| 248 | assert any(n == "x" for n, _ in x._vars) |
| 249 | |
| 250 | def test_arith_ops(self): |
| 251 | x, y = Ints("x y") |