MCPcopy Create free account
hub / github.com/Project-MONAI/MONAI / test_invalid_inputs

Method test_invalid_inputs

tests/transforms/test_zoom.py:104–108  ·  view source on GitHub ↗
(self, zoom, mode, raises)

Source from the content-addressed store, hash-verified

102
103 @parameterized.expand(INVALID_CASES)
104 def test_invalid_inputs(self, zoom, mode, raises):
105 for p in TEST_NDARRAYS_ALL:
106 with self.assertRaises(raises):
107 zoom_fn = Zoom(zoom=zoom, mode=mode)
108 zoom_fn(p(self.imt[0]))
109
110 def test_padding_mode(self):
111 for p in TEST_NDARRAYS_ALL:

Callers

nothing calls this directly

Calls 1

ZoomClass · 0.90

Tested by

no test coverage detected