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

Method test_list

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

Source from the content-addressed store, hash-verified

337 end
338
339 def test_list
340 values = [
341 {"key1" => [true, nil, false], "key2" => nil},
342 nil,
343 ]
344 target = build({
345 type: :list,
346 field: {
347 name: :sub_element,
348 type: :boolean,
349 },
350 },
351 values)
352 assert_equal(values, target.values)
353 end
354
355 def test_struct
356 values = [

Callers

nothing calls this directly

Calls 2

buildFunction · 0.50
valuesMethod · 0.45

Tested by

no test coverage detected