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

Method test_is_valid

c_glib/test/test-array.rb:51–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49 end
50
51 def test_is_valid
52 builder = Arrow::BooleanArrayBuilder.new
53 builder.append_null
54 builder.append_value(true)
55 array = builder.finish
56 assert_equal([false, true],
57 array.length.times.collect {|i| array.valid?(i)})
58 end
59
60 def test_length
61 builder = Arrow::BooleanArrayBuilder.new

Callers

nothing calls this directly

Calls 5

newMethod · 0.45
append_valueMethod · 0.45
finishMethod · 0.45
lengthMethod · 0.45
valid?Method · 0.45

Tested by

no test coverage detected