()
| 189 | |
| 190 | |
| 191 | def test_coordinate_transform_equals() -> None: |
| 192 | ds1 = create_coords(scale=2.0, shape=(2, 2)).to_dataset() |
| 193 | ds2 = create_coords(scale=2.0, shape=(2, 2)).to_dataset() |
| 194 | ds3 = create_coords(scale=4.0, shape=(2, 2)).to_dataset() |
| 195 | |
| 196 | # cannot use `assert_equal()` test utility function here yet |
| 197 | # (indexes invariant check are still based on IndexVariable, which |
| 198 | # doesn't work with coordinate transform index coordinate variables) |
| 199 | assert ds1.equals(ds2) |
| 200 | assert not ds1.equals(ds3) |
| 201 | |
| 202 | |
| 203 | def test_coordinate_transform_sel() -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…