Exemple #1
0
def test_peek():
	stack = BefungeStack()
	stack.push(1)
	assert stack.peek() == 1
	assert stack.peek() == 1
	assert len(stack) == 1