| 81 | }; |
| 82 | |
| 83 | TEST_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 | |
| 94 | std::string TypeOrderingTestName( |
| 95 | testing::TestParamInfo<std::tuple<int, int>> param) { |
nothing calls this directly
no test coverage detected