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

Method test_values

c_glib/test/test-uint32-array.rb:46–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44 end
45
46 def test_values
47 require_gi_bindings(3, 1, 7)
48 builder = Arrow::UInt32ArrayBuilder.new
49 builder.append_value(1)
50 builder.append_value(2)
51 builder.append_value(4)
52 array = builder.finish
53 assert_equal([1, 2, 4], array.values)
54 end
55
56 def test_sum
57 array = build_uint32_array([2, 4, nil])

Callers

nothing calls this directly

Calls 4

newMethod · 0.45
append_valueMethod · 0.45
finishMethod · 0.45
valuesMethod · 0.45

Tested by

no test coverage detected