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

Method test_shape

tests/transforms/test_repeat_channel.py:28–30  ·  view source on GitHub ↗
(self, input_param, input_data, expected_shape)

Source from the content-addressed store, hash-verified

26class TestRepeatChannel(unittest.TestCase):
27 @parameterized.expand(TESTS)
28 def test_shape(self, input_param, input_data, expected_shape):
29 result = RepeatChannel(**input_param)(input_data)
30 self.assertEqual(result.shape, expected_shape)
31
32
33if __name__ == "__main__":

Callers

nothing calls this directly

Calls 1

RepeatChannelClass · 0.90

Tested by

no test coverage detected