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

Method test_uint32

c_glib/test/test-uint-array-builder.rb:40–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38 end
39
40 def test_uint32
41 border_value = 2 ** 16
42 values = [0, border_value]
43 assert_equal(build_uint_array([*values, nil]),
44 Arrow::UInt32Array.new(3,
45 Arrow::Buffer.new(values.pack("L*")),
46 Arrow::Buffer.new([0b011].pack("C*")),
47 -1))
48 end
49
50 def test_uint64
51 border_value = 2 ** 32

Callers

nothing calls this directly

Calls 2

newMethod · 0.45
packMethod · 0.45

Tested by

no test coverage detected