Exemplo n.º 1
0
 def test_getData(self):
     n = Node(10)
     assert 10 == n.getData()
Exemplo n.º 2
0
 def test_setData(self):
     n = Node(-1)
     assert -1 == n.getData()
     n.setData(1)
     assert 1 == n.getData()