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

Function ValidateMean

cpp/src/arrow/compute/kernels/aggregate_test.cc:1193–1197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1191
1192template <typename ArrowType>
1193void ValidateMean(const Array& input, Datum expected,
1194 const ScalarAggregateOptions& options) {
1195 ASSERT_OK_AND_ASSIGN(Datum result, Mean(input, options, nullptr));
1196 AssertDatumsApproxEqual(expected, result, /*verbose=*/true);
1197}
1198
1199template <typename ArrowType>
1200void ValidateMean(

Callers

nothing calls this directly

Calls 4

AssertDatumsApproxEqualFunction · 0.85
ArrayFromJSONFunction · 0.85
type_singletonFunction · 0.70
DefaultsFunction · 0.50

Tested by

no test coverage detected