| 164 | } |
| 165 | |
| 166 | Expr CallExprTwoArgs(absl::string_view operation) { |
| 167 | Expr expr; |
| 168 | auto call = expr.mutable_call_expr(); |
| 169 | call->set_function(operation); |
| 170 | |
| 171 | auto arg = call->add_args(); |
| 172 | auto ident = arg->mutable_ident_expr(); |
| 173 | ident->set_name("a"); |
| 174 | |
| 175 | arg = call->add_args(); |
| 176 | ident = arg->mutable_ident_expr(); |
| 177 | ident->set_name("b"); |
| 178 | return expr; |
| 179 | } |
| 180 | |
| 181 | void ExpectResult(const TestCase& test_case) { |
| 182 | Expr expr; |
no test coverage detected