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

Function TEST

runtime/standard/logical_functions_test.cc:86–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86TEST(RegisterLogicalFunctions, NotStrictlyFalseRegistered) {
87 FunctionRegistry registry;
88 RuntimeOptions options;
89
90 ASSERT_OK(RegisterLogicalFunctions(registry, options));
91
92 EXPECT_THAT(
93 registry.FindStaticOverloads(builtin::kNotStrictlyFalse,
94 /*receiver_style=*/false, {Kind::kAny}),
95 ElementsAre(DescriptorIs(builtin::kNotStrictlyFalse,
96 std::vector<Kind>{Kind::kBool}, false)));
97}
98
99TEST(RegisterLogicalFunctions, LogicalNotRegistered) {
100 FunctionRegistry registry;

Callers

nothing calls this directly

Calls 2

RegisterLogicalFunctionsFunction · 0.70
FindStaticOverloadsMethod · 0.45

Tested by

no test coverage detected