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

Method test_found

c_glib/test/test-schema.rb:50–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48
49 sub_test_case("#get_field_by_name") do
50 def test_found
51 field = Arrow::Field.new("enabled", Arrow::BooleanDataType.new)
52 schema = Arrow::Schema.new([field])
53 assert_equal("enabled", schema.get_field_by_name("enabled").name)
54 end
55
56 def test_not_found
57 field = Arrow::Field.new("enabled", Arrow::BooleanDataType.new)

Callers

nothing calls this directly

Calls 2

newMethod · 0.45
nameMethod · 0.45

Tested by

no test coverage detected