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

Function AssertNumericDataEqual

cpp/src/arrow/testing/gtest_util.h:306–312  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304
305template <typename C_TYPE>
306void AssertNumericDataEqual(const C_TYPE* raw_data,
307 const std::vector<C_TYPE>& expected_values) {
308 for (auto expected : expected_values) {
309 ASSERT_EQ(expected, *raw_data);
310 ++raw_data;
311 }
312}
313
314ARROW_TESTING_EXPORT void CompareBatch(
315 const RecordBatch& left, const RecordBatch& right, bool compare_metadata = true,

Callers 1

TEST_FFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected