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

Method test_new

c_glib/test/test-sort-options.rb:21–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19 include Helper::Buildable
20
21 def test_new
22 sort_keys = [
23 Arrow::SortKey.new("column1", :ascending, :at_end),
24 Arrow::SortKey.new("column2", :descending, :at_end),
25 ]
26 options = Arrow::SortOptions.new(sort_keys)
27 assert_equal(sort_keys, options.sort_keys)
28 end
29
30 def test_add_sort_key
31 options = Arrow::SortOptions.new

Callers

nothing calls this directly

Calls 1

newMethod · 0.45

Tested by

no test coverage detected