test/test-array.rb in red-arrow-0.4.1 vs test/test-array.rb in red-arrow-0.8.0

- old
+ new

@@ -24,6 +24,12 @@ test("#each") do array = Arrow::BooleanArray.new([true, false, nil, true]) assert_equal([true, false, nil, true], array.to_a) end + + test("#[]") do + array = Arrow::BooleanArray.new([true, false, nil, true]) + assert_equal([true, false, nil, true], + [array[0], array[1], array[2], array[3]]) + end end