MCPcopy Create free account
hub / github.com/apache/arrow / CheckVectorUnary

Function CheckVectorUnary

cpp/src/arrow/compute/kernels/test_util_internal.cc:269–274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

267}
268
269void CheckVectorUnary(std::string func_name, Datum input, Datum expected,
270 const FunctionOptions* options) {
271 ASSERT_OK_AND_ASSIGN(Datum actual, CallFunction(func_name, {input}, options));
272 ValidateOutput(actual);
273 AssertDatumsEqual(expected, actual, /*verbose=*/true);
274}
275
276void CheckScalarBinary(std::string func_name, Datum left_input, Datum right_input,
277 Datum expected, const FunctionOptions* options) {

Callers 12

TESTFunction · 0.85
CheckWinsorizeMethod · 0.85
TEST_FFunction · 0.85
TestListFlattenMethod · 0.85
TestListFlattenNullsMethod · 0.85
TESTFunction · 0.85

Calls 2

ValidateOutputFunction · 0.85
AssertDatumsEqualFunction · 0.85

Tested by

no test coverage detected