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

Function CheckScalarNonRecursive

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

Source from the content-addressed store, hash-verified

76} // namespace
77
78void CheckScalarNonRecursive(const std::string& func_name, const DatumVector& inputs,
79 const Datum& expected, const FunctionOptions* options) {
80 ASSERT_OK_AND_ASSIGN(Datum out, CallFunction(func_name, inputs, options));
81 ValidateOutput(out);
82 AssertDatumsEqual(expected, out, /*verbose=*/true);
83}
84
85void CheckScalar(std::string func_name, const ScalarVector& inputs,
86 std::shared_ptr<Scalar> expected, const FunctionOptions* options) {

Callers 2

CheckScalarFunction · 0.85
TYPED_TESTFunction · 0.85

Calls 2

ValidateOutputFunction · 0.85
AssertDatumsEqualFunction · 0.85

Tested by

no test coverage detected