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

Method test_verify_suffix

tests/data/test_nrrd_reader.py:52–56  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

50class TestNrrdReader(unittest.TestCase):
51
52 def test_verify_suffix(self):
53 reader = NrrdReader()
54 self.assertFalse(reader.verify_suffix("test_image.nrd"))
55 reader.verify_suffix("test_image.nrrd")
56 reader.verify_suffix("test_image.seg.nrrd")
57
58 @parameterized.expand([TEST_CASE_1, TEST_CASE_2, TEST_CASE_3, TEST_CASE_4])
59 def test_read_int(self, data_shape, filename, expected_shape, dtype):

Callers

nothing calls this directly

Calls 2

verify_suffixMethod · 0.95
NrrdReaderClass · 0.90

Tested by

no test coverage detected