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

Function TEST_P

eval/public/set_util_test.cc:83–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81};
82
83TEST_P(TypeOrderingTest, TypeLessThan) {
84 auto examples = TypeExamples(&arena_);
85 CelValue lhs = examples[i_];
86 CelValue rhs = examples[j_];
87
88 // Strict less than.
89 EXPECT_EQ(CelValueLessThan(lhs, rhs), i_ < j_);
90 // Equality.
91 EXPECT_EQ(CelValueEqual(lhs, rhs), i_ == j_);
92}
93
94std::string TypeOrderingTestName(
95 testing::TestParamInfo<std::tuple<int, int>> param) {

Callers

nothing calls this directly

Calls 4

TypeExamplesFunction · 0.85
CelValueLessThanFunction · 0.85
CelValueEqualFunction · 0.85
CelValueGreaterThanFunction · 0.85

Tested by

no test coverage detected