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

Method test_int32

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

newMethod · 0.45
packMethod · 0.45

Tested by

no test coverage detected