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

Function TEST_F

common/value_testing_test.cc:178–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176using ValueMatcherTest = common_internal::ValueTest<>;
177
178TEST_F(ValueMatcherTest, OptionalValueIsMatch) {
179 EXPECT_THAT(OptionalValue::Of(IntValue(42), arena()),
180 OptionalValueIs(IntValueIs(42)));
181}
182
183TEST_F(ValueMatcherTest, OptionalValueIsHeldValueDifferent) {
184 EXPECT_NONFATAL_FAILURE(

Callers

nothing calls this directly

Calls 15

OfFunction · 0.85
OptionalValueIsFunction · 0.85
IntValueIsFunction · 0.85
OptionalValueIsEmptyFunction · 0.85
ListValueIsFunction · 0.85
ListValueElementsFunction · 0.85
MapValueIsFunction · 0.85
StringValueIsFunction · 0.85
IntValueClass · 0.50
StringValueClass · 0.50
AddMethod · 0.45
BuildMethod · 0.45

Tested by

no test coverage detected