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

Method test_read_at

c_glib/test/test-file-input-stream.rb:66–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64 end
65
66 def test_read_at
67 input = Arrow::FileInputStream.new(@tempfile.path)
68 begin
69 buffer = input.read_at(6, 5)
70 assert_equal("World", buffer.data.to_s)
71 ensure
72 input.close
73 end
74 end
75
76 def test_mode
77 input = Arrow::FileInputStream.new(@tempfile.path)

Callers

nothing calls this directly

Calls 5

newMethod · 0.45
pathMethod · 0.45
to_sMethod · 0.45
dataMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected