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

Method setup

ruby/red-arrow/test/test-memory-view.rb:19–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17
18class MemoryViewTest < Test::Unit::TestCase
19 def setup
20 unless Fiddle.const_defined?(:MemoryView)
21 omit("Fiddle::MemoryView is needed")
22 end
23 unless Fiddle::MemoryView.respond_to?(:export)
24 omit("Fiddle::MemoryView.export is needed")
25 end
26 end
27
28 def little_endian?
29 [1].pack("s") == [1].pack("s<")

Callers

nothing calls this directly

Calls 1

newMethod · 0.45

Tested by

no test coverage detected