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

Method test_pad

tests/transforms/test_spatial_pad.py:39–40  ·  view source on GitHub ↗
(self, input_param, input_shape, expected_shape)

Source from the content-addressed store, hash-verified

37
38 @parameterized.expand(TESTS)
39 def test_pad(self, input_param, input_shape, expected_shape):
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"}

Callers

nothing calls this directly

Calls 1

pad_testMethod · 0.80

Tested by

no test coverage detected