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

Method test_struct

ruby/red-arrow/test/values/test-map-array.rb:355–371  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

353 end
354
355 def test_struct
356 values = [
357 {"key1" => {"field" => true}, "key2" => nil, "key3" => {"field" => nil}},
358 nil,
359 ]
360 target = build({
361 type: :struct,
362 fields: [
363 {
364 name: :field,
365 type: :boolean,
366 },
367 ],
368 },
369 values)
370 assert_equal(values, target.values)
371 end
372
373 def test_map
374 values = [

Callers

nothing calls this directly

Calls 2

buildFunction · 0.50
valuesMethod · 0.45

Tested by

no test coverage detected