(self)
| 2843 | assert e.num_args() == 2 |
| 2844 | |
| 2845 | def test_binop_arg(self): |
| 2846 | x, y = Ints("x y") |
| 2847 | e = x + y |
| 2848 | a0 = e.arg(0) |
| 2849 | a1 = e.arg(1) |
| 2850 | assert repr(a0) == "x" |
| 2851 | assert repr(a1) == "y" |
| 2852 | |
| 2853 | def test_binop_children(self): |
| 2854 | x, y = Ints("x y") |