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

Method test_values

c_glib/test/test-uint8-array.rb:45–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43 end
44
45 def test_values
46 builder = Arrow::UInt8ArrayBuilder.new
47 builder.append_value(1)
48 builder.append_value(2)
49 builder.append_value(4)
50 array = builder.finish
51 assert_equal([1, 2, 4], array.values)
52 end
53
54 def test_sum
55 array = build_uint8_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