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

Method test_array

c_glib/test/test-function.rb:29–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27
28 sub_test_case("#execute") do
29 def test_array
30 or_function = Arrow::Function.find("or")
31 args = [
32 Arrow::ArrayDatum.new(build_boolean_array([true, false, false])),
33 Arrow::ArrayDatum.new(build_boolean_array([true, false, true])),
34 ]
35 assert_equal(build_boolean_array([true, false, true]),
36 or_function.execute(args).value)
37 end
38
39 def test_chunked_array
40 or_function = Arrow::Function.find("or")

Callers

nothing calls this directly

Calls 4

findMethod · 0.45
newMethod · 0.45
valueMethod · 0.45
executeMethod · 0.45

Tested by

no test coverage detected