☰
Debian Codegraph
@
15.0.0-2
15.0.0-1
/
/
tests
/
test_stack.py
☽
☼
tests/test_stack.py
code
plain
raw
MIT
2020 Will McGugan
debian/copyright
1
from rich._stack import Stack
2
3
4
def test_stack():
5
stack = Stack()
6
stack.push("foo")
7
stack.push("bar")
8
assert stack.top == "bar"
9
assert stack.pop() == "bar"
10
assert stack.top == "foo"