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

Function assert_vector_equal

cpp/src/parquet/test_util.h:79–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77
78template <typename T>
79inline void assert_vector_equal(const std::vector<T>& left, const std::vector<T>& right) {
80 ASSERT_EQ(left.size(), right.size());
81
82 for (size_t i = 0; i < left.size(); ++i) {
83 ASSERT_EQ(left[i], right[i]) << i;
84 }
85}
86
87template <typename T>
88inline bool vector_equal(const std::vector<T>& left, const std::vector<T>& right) {

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected