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

Method setup

c_glib/test/test-map-array.rb:21–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19 include Helper::Buildable
20
21 def setup
22 offsets = build_int32_array([0, 2, 5])
23 @keys = build_string_array(["a", "b", "c", "d", "e"])
24 @items = build_int16_array([0, 1, 2, 3, 4])
25 @map_array = Arrow::MapArray.new(offsets,
26 @keys,
27 @items)
28 end
29
30 def test_keys
31 assert_equal(@keys,

Callers

nothing calls this directly

Calls 1

newMethod · 0.45

Tested by

no test coverage detected