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

Method test_n_fields

c_glib/test/test-schema.rb:77–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75 end
76
77 def test_n_fields
78 fields = [
79 Arrow::Field.new("enabled", Arrow::BooleanDataType.new),
80 Arrow::Field.new("required", Arrow::BooleanDataType.new),
81 ]
82 schema = Arrow::Schema.new(fields)
83 assert_equal(2, schema.n_fields)
84 end
85
86 def test_fields
87 fields = [

Callers

nothing calls this directly

Calls 1

newMethod · 0.45

Tested by

no test coverage detected