| 299 | }); |
| 300 | |
| 301 | TEST(CelValueEqualImplTest, LossyNumericEquality) { |
| 302 | absl::optional<bool> result = CelValueEqualImpl( |
| 303 | CelValue::CreateDouble( |
| 304 | static_cast<double>(std::numeric_limits<int64_t>::max()) - 1), |
| 305 | CelValue::CreateInt64(std::numeric_limits<int64_t>::max())); |
| 306 | EXPECT_TRUE(result.has_value()); |
| 307 | EXPECT_TRUE(*result); |
| 308 | } |
| 309 | |
| 310 | TEST(CelValueEqualImplTest, ListMixedTypesInequal) { |
| 311 | ContainerBackedListImpl lhs({CelValue::CreateInt64(1)}); |
nothing calls this directly
no test coverage detected