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

Method test_buffer

c_glib/test/test-tensor.rb:64–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62 end
63
64 def test_buffer
65 assert_equal(@raw_data, @tensor.buffer.data.to_s.unpack("c*"))
66 end
67
68 def test_shape
69 require_gi_bindings(3, 3, 1)

Callers

nothing calls this directly

Calls 4

unpackMethod · 0.45
to_sMethod · 0.45
dataMethod · 0.45
bufferMethod · 0.45

Tested by

no test coverage detected