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

Method test_values

c_glib/test/test-date64-array.rb:54–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52 end
53
54 def test_values
55 before_epoch = -315619200 # 1960-01-01T00:00:00Z
56 after_epoch = 1503878400000 # 2017-08-28T00:00:00Z
57
58 builder = Arrow::Date64ArrayBuilder.new
59 builder.append_value(0)
60 builder.append_value(after_epoch)
61 builder.append_value(before_epoch)
62 array = builder.finish
63 assert_equal([0, after_epoch, before_epoch], array.values)
64 end
65end

Callers

nothing calls this directly

Calls 4

newMethod · 0.45
append_valueMethod · 0.45
finishMethod · 0.45
valuesMethod · 0.45

Tested by

no test coverage detected