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

Method test_default

c_glib/test/test-count.rb:23–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21
22 sub_test_case("mode") do
23 def test_default
24 assert_equal(2, build_int32_array([1, nil, 3]).count)
25
26 options = Arrow::CountOptions.new
27 options.mode = Arrow::CountMode::ONLY_VALID
28 assert_equal(2, build_int32_array([1, nil, 3]).count(options))
29 end
30
31 def test_nulls
32 options = Arrow::CountOptions.new

Callers

nothing calls this directly

Calls 3

countMethod · 0.45
newMethod · 0.45
modeMethod · 0.45

Tested by

no test coverage detected