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

Method test_binary

ruby/red-arrow-format/test/test-reader.rb:446–451  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

444 end
445
446 def test_binary
447 array = Arrow::BinaryArray.new(["Hello".b, nil, "World".b])
448 type, values = roundtrip(array)
449 assert_equal(["Binary", ["Hello".b, nil, "World".b]],
450 [type.to_s, values])
451 end
452
453 def test_large_binary
454 array = Arrow::LargeBinaryArray.new(["Hello".b, nil, "World".b])

Callers

nothing calls this directly

Calls 3

roundtripFunction · 0.85
newMethod · 0.45
to_sMethod · 0.45

Tested by

no test coverage detected