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

Method test_ill_arg

tests/networks/nets/test_segresnet.py:76–78  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

74 self.assertEqual(result.shape, expected_shape)
75
76 def test_ill_arg(self):
77 with self.assertRaises(ValueError):
78 SegResNet(spatial_dims=4)
79
80 def test_script(self):
81 input_param, input_shape, expected_shape = TEST_CASE_SEGRESNET[0]

Callers

nothing calls this directly

Calls 1

SegResNetClass · 0.90

Tested by

no test coverage detected