test/values/test-struct-array.rb in red-arrow-2.0.0 vs test/values/test-struct-array.rb in red-arrow-3.0.0

- old
+ new

@@ -324,9 +324,24 @@ }, values) assert_equal(values, target.values) end + def test_decimal256 + values = [ + {"field" => BigDecimal("92.92")}, + nil, + {"field" => nil}, + ] + target = build({ + type: :decimal256, + precision: 38, + scale: 2, + }, + values) + assert_equal(values, target.values) + end + def test_list values = [ {"field" => [true, nil, false]}, nil, {"field" => nil},