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

Method test_pad_kwargs

tests/transforms/test_spatial_pad.py:42–45  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

40 self.pad_test(input_param, input_shape, expected_shape)
41
42 def test_pad_kwargs(self):
43 kwargs = {"spatial_size": [15, 8], "method": "end", "mode": "constant"}
44 unchanged_slices = [slice(None), slice(None, 8), slice(None, 4)]
45 self.pad_test_kwargs(unchanged_slices, **kwargs)
46
47 @parameterized.expand(TESTS)
48 def test_pending_ops(self, input_param, input_shape, _):

Callers

nothing calls this directly

Calls 1

pad_test_kwargsMethod · 0.80

Tested by

no test coverage detected