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

Function TEST

eval/compiler/check_ast_extensions_test.cc:43–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41using ::testing::SizeIs;
42
43TEST(ExtractAndValidateRuntimeExtensionsTest, EmptyExtensions) {
44 Ast ast(Expr{}, SourceInfo{});
45 EXPECT_THAT(ExtractAndValidateRuntimeExtensions(ast),
46 IsOkAndHolds(SizeIs(0)));
47}
48
49TEST(ExtractAndValidateRuntimeExtensionsTest, FiltersNonRuntimeExtensions) {
50 SourceInfo source_info;

Callers

nothing calls this directly

Calls 3

ExtensionSpecClass · 0.85
ExprClass · 0.50

Tested by

no test coverage detected