def testSetAndGetWeight(self): """ Testing set&gets methods of NodeData's weight """ node1 = NodeData() node1.setWeight(8) self.assertEqual(8, node1.getWeight())
def testSetAndGetWeight(self): node1 = NodeData() node1.setWeight(8) self.assertEqual(8, node1.getWeight())