Exemplo n.º 1
0
 def test_isempty(self):
     stack = Stack()
     assert stack.isempty() is True
Exemplo n.º 2
0
 def test_duplicate_empty(self):
     stack = Stack()
     stack.dup()
     assert stack.isempty() is True