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

Method TestListFunctions

cpp/src/arrow/array/array_binary_test.cc:170–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168 }
169
170 void TestListFunctions() {
171 int64_t pos = 0;
172 for (size_t i = 0; i < expected_.size(); ++i) {
173 ASSERT_EQ(pos, strings_->value_offset(i));
174 ASSERT_EQ(expected_[i].size(), strings_->value_length(i));
175 pos += expected_[i].size();
176 }
177 }
178
179 void TestDestructor() {
180 auto arr = std::make_shared<ArrayType>(length_, offsets_buf_, value_buf_,

Callers 1

TYPED_TESTFunction · 0.80

Calls 3

sizeMethod · 0.45
value_offsetMethod · 0.45
value_lengthMethod · 0.45

Tested by

no test coverage detected