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

Method test_ill_arg

tests/networks/nets/test_segresnet_ds.py:131–136  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

129 self.assertEqual(result[i].shape, expected_shapes[i], msg=str(input_param))
130
131 def test_ill_arg(self):
132 with self.assertRaises(ValueError):
133 SegResNetDS(spatial_dims=4)
134
135 with self.assertRaises(ValueError):
136 SegResNetDS2(spatial_dims=4)
137
138 def test_script(self):
139 input_param, input_shape, _ = TEST_CASE_SEGRESNET_DS[0]

Callers

nothing calls this directly

Calls 2

SegResNetDSClass · 0.90
SegResNetDS2Class · 0.90

Tested by

no test coverage detected