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

Method test_from_cpp

c_glib/test/test-struct-scalar.rb:58–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56 end
57
58 def test_from_cpp
59 min_max = Arrow::Function.find("min_max")
60 args = [
61 Arrow::ArrayDatum.new(build_int8_array([0, 2, -4])),
62 ]
63 scalar = min_max.execute(args).value
64 assert_equal([
65 Arrow::Int8Scalar.new(-4),
66 Arrow::Int8Scalar.new(2),
67 ],
68 scalar.value)
69 end
70end

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