class GraphTestCase(unittest.TestCase): def setUp(self): self.graph = Graph(nodes_generator(5)) def tearDown(self): pass def testGetNodesCount(self): self.assertEqual(5, self.graph.nodes_count())
def setUp(self): self.graph = Graph(nodes_generator(5))