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

Method test_values

c_glib/test/test-float-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::FloatArrayBuilder.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 sub_test_case("#sum") do
57 def test_with_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