(self)
| 2859 | assert repr(kids[1]) == "y" |
| 2860 | |
| 2861 | def test_binop_decl(self): |
| 2862 | x, y = Ints("x y") |
| 2863 | e = x + y |
| 2864 | d = e.decl() |
| 2865 | assert isinstance(d, FuncDeclRef) |
| 2866 | assert d.name() == "add" |
| 2867 | |
| 2868 | def test_comparison_decl(self): |
| 2869 | x, y = Ints("x y") |