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

Method TestArrayCtors

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

Source from the content-addressed store, hash-verified

124 }
125
126 void TestArrayCtors() {
127 // ARROW-8863: ArrayData::null_count set to 0 when no validity bitmap
128 // provided
129 ArrayType arr(length_, offsets_buf_, value_buf_);
130 ASSERT_EQ(arr.data()->null_count, 0);
131 }
132
133 void TestTotalValuesLength() {
134 auto ty = TypeTraits<T>::type_singleton();

Callers 1

TYPED_TESTFunction · 0.80

Calls 1

dataMethod · 0.45

Tested by

no test coverage detected