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

Method test_output_str

tests/test_query_memory.py:20–24  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

18
19class TestQueryMemory(unittest.TestCase):
20 def test_output_str(self):
21 self.assertTrue(isinstance(query_memory(2), str))
22 all_device = query_memory(-1)
23 self.assertTrue(isinstance(all_device, str))
24 self.assertEqual(query_memory("test"), "")
25
26
27if __name__ == "__main__":

Callers

nothing calls this directly

Calls 1

query_memoryFunction · 0.90

Tested by

no test coverage detected