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

Function TEST

runtime/standard/comparison_functions_test.cc:40–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38 Kind::kDouble, Kind::kBytes, Kind::kDuration, Kind::kTimestamp};
39
40TEST(RegisterComparisonFunctionsTest, LessThanDefined) {
41 RuntimeOptions default_options;
42 FunctionRegistry registry;
43 ASSERT_OK(RegisterComparisonFunctions(registry, default_options));
44 for (Kind kind : kOrderableTypes) {
45 EXPECT_THAT(registry, DefinesHomogenousOverload(builtin::kLess, kind));
46 }
47}
48
49TEST(RegisterComparisonFunctionsTest, LessThanOrEqualDefined) {
50 RuntimeOptions default_options;

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected