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

Method setup

ruby/red-arrow/test/test-struct-array.rb:41–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39
40 sub_test_case("instance methods") do
41 def setup
42 @data_type = Arrow::StructDataType.new(visible: {type: :boolean},
43 count: {type: :uint64})
44 @values = [
45 [true, 1],
46 [false, 2],
47 ]
48 @array = Arrow::StructArray.new(@data_type, @values)
49 end
50
51 test("#[]") do
52 assert_equal([

Callers

nothing calls this directly

Calls 1

newMethod · 0.45

Tested by

no test coverage detected