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

Method test_fields

c_glib/test/test-schema.rb:86–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84 end
85
86 def test_fields
87 fields = [
88 Arrow::Field.new("enabled", Arrow::BooleanDataType.new),
89 Arrow::Field.new("required", Arrow::BooleanDataType.new),
90 ]
91 schema = Arrow::Schema.new(fields)
92 assert_equal(["enabled", "required"],
93 schema.fields.collect(&:name))
94 end
95
96 def test_to_s
97 fields = [

Callers

nothing calls this directly

Calls 2

newMethod · 0.45
fieldsMethod · 0.45

Tested by

no test coverage detected