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

Method test_buffer

c_glib/test/test-time32-array.rb:35–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33 end
34
35 def test_buffer
36 midnight = 0
37 after_midnight = 60 * 10 # 00:10:00
38 raw_data = [midnight, after_midnight]
39 array = build_time32_array(:second, raw_data)
40 assert_equal(raw_data.pack("l*"),
41 array.buffer.data.to_s)
42 end
43
44 def test_value
45 after_midnight = 60 * 10 # 00:10:00

Callers

nothing calls this directly

Calls 4

packMethod · 0.45
to_sMethod · 0.45
dataMethod · 0.45
bufferMethod · 0.45

Tested by

no test coverage detected