Esempio n. 1
0
 def setCounter(self):
     """
     This function tests the setConuter function in NodeData.
     """
     node1 = NodeData()
     node1.setCounter(300)
     self.assertEqual(node1.counter, 300)
 def setCounter(self):
     node1 = NodeData()
     node1.setCounter(300)
     self.assertEqual(node1.counter, 300)