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

Method test_new

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

Source from the content-addressed store, hash-verified

20 include Helper::Omittable
21
22 def test_new
23 assert_equal(build_uint32_array([1, 2, nil]),
24 Arrow::UInt32Array.new(3,
25 Arrow::Buffer.new([1, 2].pack("L*")),
26 Arrow::Buffer.new([0b011].pack("C*")),
27 -1))
28 end
29
30 def test_buffer
31 builder = Arrow::UInt32ArrayBuilder.new

Callers

nothing calls this directly

Calls 2

newMethod · 0.45
packMethod · 0.45

Tested by

no test coverage detected