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

Method test_chunks

c_glib/test/test-chunked-array.rb:95–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93 end
94
95 def test_chunks
96 chunks = [
97 build_boolean_array([true, false]),
98 build_boolean_array([false]),
99 ]
100 chunked_array = Arrow::ChunkedArray.new(chunks)
101 assert_equal([2, 1],
102 chunked_array.chunks.collect(&:length))
103 end
104
105 def test_slice
106 chunks1 = [

Callers

nothing calls this directly

Calls 2

newMethod · 0.45
chunksMethod · 0.45

Tested by

no test coverage detected