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

Method test_slice

c_glib/test/test-mutable-buffer.rb:44–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42 end
43
44 def test_slice
45 sliced_buffer = @buffer.slice(1, 3)
46 assert_equal(@data[1, 3], sliced_buffer.data.to_s)
47 end
48
49 sub_test_case("#set_data") do
50 test("offset") do

Callers

nothing calls this directly

Calls 3

sliceMethod · 0.45
to_sMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected