MCPcopy Create free account
hub / github.com/CyberPoint/libpgm / setUp

Method setUp

tests/run_unit_tests.py:40–43  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

38class TestGraphSkeleton(unittest.TestCase):
39
40 def setUp(self):
41 self.instance = GraphSkeleton()
42 self.instance.V = [1,2,3,4,5]
43 self.instance.E = [[5,1],[1,2]]
44
45 def test_getparents(self):
46 self.assertEqual(self.instance.getparents(1), [5])

Callers

nothing calls this directly

Calls 1

GraphSkeletonClass · 0.90

Tested by

no test coverage detected