(self)
| 21 | |
| 22 | class TestShiftIntensity(NumpyImageTestCase2D): |
| 23 | def test_value(self): |
| 24 | shifter = ShiftIntensity(offset=1.0) |
| 25 | result = shifter(self.imt) |
| 26 | expected = self.imt + 1.0 |
| 27 | np.testing.assert_allclose(result, expected) |
| 28 | |
| 29 | |
| 30 | if __name__ == "__main__": |
nothing calls this directly
no test coverage detected