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

Method test_values

c_glib/test/test-double-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::DoubleArrayBuilder.new
49 builder.append_value(1.5)
50 builder.append_value(3)
51 builder.append_value(4.5)
52 array = builder.finish
53 assert_equal([1.5, 3.0, 4.5], array.values)
54 end
55
56 def test_sum
57 array = build_float_array([1.5, 3.0, 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