(self)
| 1527 | assert_identical(expected, v.shift(x=1, fill_value=fill_value)) |
| 1528 | |
| 1529 | def test_shift2d(self): |
| 1530 | v = Variable(("x", "y"), [[1, 2], [3, 4]]) |
| 1531 | expected = Variable(("x", "y"), [[np.nan, np.nan], [np.nan, 1]]) |
| 1532 | assert_identical(expected, v.shift(x=1, y=1)) |
| 1533 | |
| 1534 | def test_roll(self): |
| 1535 | v = Variable("x", [1, 2, 3, 4, 5]) |
nothing calls this directly
no test coverage detected