| 119 | } |
| 120 | |
| 121 | absl::StatusOr<cel::Value> EvalWithModernBindings( |
| 122 | const CheckedExpr& checked_expr, const CelTestContext& context, |
| 123 | const cel::Activation& activation, google::protobuf::Arena* arena) { |
| 124 | CEL_ASSIGN_OR_RETURN(std::unique_ptr<cel::Program> program, |
| 125 | Plan(checked_expr, context.runtime())); |
| 126 | return program->Evaluate(arena, activation); |
| 127 | } |
| 128 | |
| 129 | absl::StatusOr<cel::Value> EvalWithLegacyBindings( |
| 130 | const CheckedExpr& checked_expr, const CelTestContext& context, |
no test coverage detected