MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / MakeMapExprEntry

Function MakeMapExprEntry

common/expr_test.cc:55–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55MapExprEntry MakeMapExprEntry(ExprId id, Expr key, Expr value,
56 bool optional = false) {
57 MapExprEntry entry;
58 entry.set_id(id);
59 entry.set_key(std::move(key));
60 entry.set_value(std::move(value));
61 entry.set_optional(optional);
62 return entry;
63}
64
65TEST(UnspecifiedExpr, Equality) {
66 EXPECT_EQ(UnspecifiedExpr{}, UnspecifiedExpr{});

Callers 1

TESTFunction · 0.85

Calls 4

set_keyMethod · 0.80
set_idMethod · 0.45
set_valueMethod · 0.45
set_optionalMethod · 0.45

Tested by

no test coverage detected