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

Function AssertNumericDataEqual

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

Source from the content-addressed store, hash-verified

303
304template <typename C_TYPE>
305void AssertNumericDataEqual(const C_TYPE* raw_data,
306 const std::vector<C_TYPE>& expected_values) {
307 for (auto expected : expected_values) {
308 ASSERT_EQ(expected, *raw_data);
309 ++raw_data;
310 }
311}
312
313ARROW_TESTING_EXPORT void CompareBatch(
314 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