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

Method test_sliced

ruby/red-arrow-format/test/test-boolean-array.rb:49–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47 end
48
49 def test_sliced
50 array1 = ArrowFormat::BooleanArray.new([true, nil, false])
51 array2 = ArrowFormat::BooleanArray.new([true, true, nil, false, true])
52 assert_equal(array1, array2.slice(1, 3))
53 end
54
55 def test_sliced_different_content
56 array1 = ArrowFormat::BooleanArray.new([true, nil, false])

Callers

nothing calls this directly

Calls 2

newMethod · 0.45
sliceMethod · 0.45

Tested by

no test coverage detected