| 46 | end |
| 47 | |
| 48 | def test_sliced |
| 49 | values = [@time_00_00_10_000_000, nil, @time_00_01_10_000_000] |
| 50 | array1 = ArrowFormat::Time64Array.new(:microsecond, values) |
| 51 | array2 = ArrowFormat::Time64Array.new(:microsecond, [0, *values, 0]) |
| 52 | assert_equal(array1, array2.slice(1, 3)) |
| 53 | end |
| 54 | |
| 55 | def test_sliced_different_content |
| 56 | values = [@time_00_00_10_000_000, nil, @time_00_01_10_000_000] |