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

Method test_output_scalar

c_glib/test/test-function.rb:70–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68 end
69
70 def test_output_scalar
71 sum_function = Arrow::Function.find("sum")
72 args = [
73 Arrow::ArrayDatum.new(build_int8_array([1, 2, 3])),
74 ]
75 assert_equal(Arrow::Int64Scalar.new(6),
76 sum_function.execute(args).value)
77 end
78
79 def test_options
80 cast_function = Arrow::Function.find("cast")

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