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

Method test_dataset

tests/data/meta_tensor/test_meta_tensor.py:293–297  ·  view source on GitHub ↗
(self, device, dtype)

Source from the content-addressed store, hash-verified

291
292 @parameterized.expand(TESTS)
293 def test_dataset(self, device, dtype):
294 ims = [self.get_im(device=device, dtype=dtype)[0] for _ in range(4)]
295 ds = Dataset(ims)
296 for i, im in enumerate(ds):
297 self.check(im, ims[i], ids=True)
298
299 @parameterized.expand(DTYPES)
300 def test_dataloader(self, dtype):

Callers

nothing calls this directly

Calls 3

get_imMethod · 0.95
checkMethod · 0.95
DatasetClass · 0.90

Tested by

no test coverage detected