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

Method test_uint16

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

Source from the content-addressed store, hash-verified

28 end
29
30 def test_uint16
31 border_value = 2 ** 8
32 values = [0, border_value]
33 assert_equal(build_uint_array([*values, nil]),
34 Arrow::UInt16Array.new(3,
35 Arrow::Buffer.new(values.pack("S*")),
36 Arrow::Buffer.new([0b011].pack("C*")),
37 -1))
38 end
39
40 def test_uint32
41 border_value = 2 ** 16

Callers

nothing calls this directly

Calls 2

newMethod · 0.45
packMethod · 0.45

Tested by

no test coverage detected