def test_isempty(self): stack = Stack() assert stack.isempty() is True
def test_duplicate_empty(self): stack = Stack() stack.dup() assert stack.isempty() is True