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

Method test_buffer

c_glib/test/test-duration-array.rb:32–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30 end
31
32 def test_buffer
33 raw_data = [0, 1000]
34 array = build_duration_array(:milli, raw_data)
35 assert_equal(raw_data.pack("q*"),
36 array.buffer.data.to_s)
37 end
38
39 def test_value
40 duration = 1000

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