MCPcopy Create free account
hub / github.com/bytedance/bolt / TEST_F

Function TEST_F

bolt/exec/tests/FunctionResolutionTest.cpp:177–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175};
176
177TEST_F(FunctionResolutionTest, rank1Picked) {
178 registerFunction<TestFunction, int32_t, int32_t, int32_t>({"f1"});
179 registerFunction<TestFunction, int32_t, Variadic<int32_t>>({"f1"});
180 registerFunction<TestFunction, int32_t, Generic<T1>, Generic<T1>>({"f1"});
181 registerFunction<TestFunction, int32_t, Variadic<Any>>({"f1"});
182
183 checkResults("f1", 1);
184}
185
186TEST_F(FunctionResolutionTest, rank2Picked) {
187 registerFunction<TestFunction, int32_t, Variadic<int32_t>>({"f2"});

Callers

nothing calls this directly

Calls 15

checkResultsFunction · 0.85
getVectorFunctionFunction · 0.85
evaluateFunction · 0.85
ARRAYFunction · 0.85
MAPFunction · 0.85
ROWFunction · 0.85
HYPERLOGLOGFunction · 0.85
JSONClass · 0.85
TIMESTAMP_WITH_TIME_ZONEFunction · 0.85
resolveFunctionMethod · 0.80
registerVectorFunctionsFunction · 0.70
assertEqualVectorsFunction · 0.50

Tested by

no test coverage detected