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

Method setup

c_glib/test/test-sparse-union-array.rb:23–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21 sub_test_case(".new") do
22 sub_test_case("default") do
23 def setup
24 type_ids = build_int8_array([0, 1, 0, 1, 0])
25 fields = [
26 build_int16_array([1, nil, nil, nil, 5]),
27 build_string_array([nil, "b", nil, "d", nil]),
28 ]
29 @array = Arrow::SparseUnionArray.new(type_ids, fields)
30 end
31
32 def test_value_data_type
33 fields = [

Callers

nothing calls this directly

Calls 1

newMethod · 0.45

Tested by

no test coverage detected