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

Method test_copy

c_glib/test/test-buffer.rb:93–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91 end
92
93 def test_copy
94 copied_buffer = @buffer.copy(1, 3)
95 assert_equal(@data[1, 3], copied_buffer.data.to_s)
96 end
97
98 def test_slice
99 sliced_buffer = @buffer.slice(1, 3)

Callers

nothing calls this directly

Calls 3

copyMethod · 0.80
to_sMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected