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

Function CheckSpanRoundTrip

cpp/src/arrow/array/array_test.cc:839–844  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

837}
838
839void CheckSpanRoundTrip(const Array& array) {
840 ArraySpan span;
841 span.SetMembers(*array.data());
842 std::shared_ptr<Array> array2 = span.ToArray();
843 AssertArraysEqual(array, *array2);
844}
845
846TEST_F(TestArray, TestMakeEmptyArray) {
847 for (auto type : TestArrayUtilitiesAgainstTheseTypes()) {

Callers 1

TEST_FFunction · 0.85

Calls 4

AssertArraysEqualFunction · 0.85
SetMembersMethod · 0.80
dataMethod · 0.45
ToArrayMethod · 0.45

Tested by

no test coverage detected