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

Method test_export

c_glib/test/test-schema.rb:21–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19 include Helper::Omittable
20
21 def test_export
22 require_gi_bindings(3, 4, 8)
23 fields = [
24 Arrow::Field.new("enabled", Arrow::BooleanDataType.new),
25 ]
26 schema = Arrow::Schema.new(fields)
27 c_abi_schema = schema.export
28 assert_equal(schema,
29 Arrow::Schema.import(c_abi_schema))
30 end
31
32 def test_equal
33 fields1 = [

Callers

nothing calls this directly

Calls 2

newMethod · 0.45
importMethod · 0.45

Tested by

no test coverage detected