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

Method test_date

ruby/red-arrow-format/test/test-date32-array.rb:39–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37 end
38
39 def test_date
40 values = [
41 Date.new(1969, 12, 31),
42 Date.new(1970, 1, 1),
43 nil,
44 Date.new(2025, 12, 9),
45 ]
46 expected = [-1, 0, nil, @date_2025_12_09]
47 assert_equal(expected,
48 ArrowFormat::Date32Array.new(values).to_a)
49 end
50 end
51
52 sub_test_case("#==") do

Callers

nothing calls this directly

Calls 2

newMethod · 0.45
to_aMethod · 0.45

Tested by

no test coverage detected