| 76 | } // namespace |
| 77 | |
| 78 | void 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 | |
| 85 | void CheckScalar(std::string func_name, const ScalarVector& inputs, |
| 86 | std::shared_ptr<Scalar> expected, const FunctionOptions* options) { |
no test coverage detected