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

Function TEST

common/value_test.cc:51–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49using TestAllTypesProto3 = ::cel::expr::conformance::proto3::TestAllTypes;
50
51TEST(Value, GeneratedEnum) {
52 EXPECT_EQ(Value::Enum(google::protobuf::NULL_VALUE), NullValue());
53 EXPECT_EQ(Value::Enum(google::protobuf::SYNTAX_EDITIONS), IntValue(2));
54}
55
56TEST(Value, DynamicEnum) {
57 EXPECT_THAT(

Callers

nothing calls this directly

Calls 15

IsNullValueFunction · 0.85
IntValueIsFunction · 0.85
ErrorValueIsFunction · 0.85
ErrorValueFunction · 0.85
IsTrueMethod · 0.80
IsFalseMethod · 0.80
ValueClass · 0.70
NullValueClass · 0.50
IntValueClass · 0.50
BoolValueClass · 0.50
BytesValueClass · 0.50
DoubleValueClass · 0.50

Tested by

no test coverage detected