(self)
| 4205 | assert title.endswith("...") |
| 4206 | |
| 4207 | def test_dataarray_diff_n1(self) -> None: |
| 4208 | da = DataArray(np.random.randn(3, 4), dims=["x", "y"]) |
| 4209 | actual = da.diff("y") |
| 4210 | expected = DataArray(np.diff(da.values, axis=1), dims=["x", "y"]) |
| 4211 | assert_equal(expected, actual) |
| 4212 | |
| 4213 | def test_coordinate_diff(self) -> None: |
| 4214 | # regression test for GH634 |
nothing calls this directly
no test coverage detected