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

Function ValidateMean

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

Source from the content-addressed store, hash-verified

1231
1232template <typename ArrowType>
1233void ValidateMean(const Array& input, Datum expected,
1234 const ScalarAggregateOptions& options) {
1235 ASSERT_OK_AND_ASSIGN(Datum result, Mean(input, options, nullptr));
1236 AssertDatumsApproxEqual(expected, result, /*verbose=*/true);
1237}
1238
1239template <typename ArrowType>
1240void 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