Example #1
0
 def test_isempty(self):
     stack = Stack()
     assert stack.isempty() is True
Example #2
0
 def test_duplicate_empty(self):
     stack = Stack()
     stack.dup()
     assert stack.isempty() is True