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

Method test_io

c_glib/test/test-tensor.rb:118–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116 end
117
118 def test_io
119 buffer = Arrow::ResizableBuffer.new(0)
120 output = Arrow::BufferOutputStream.new(buffer)
121 output.write_tensor(@tensor)
122 input = Arrow::BufferInputStream.new(buffer)
123 assert_equal(@tensor, input.read_tensor)
124 end
125end

Callers

nothing calls this directly

Calls 1

newMethod · 0.45

Tested by

no test coverage detected