| 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 = [ |