  
          print('Test: One element')
          top = Node(5)
          stack = Stack(top)
          assert_equal(stack.pop(), 5)
          assert_equal(stack.peek(), None)
  
          print('Test: More than one element')
          stack = Stack()
          stack.push(1)
          stack.push(2)
 
</s> remove         assert_equal(stack.peek(), None)
        assert_equal(stack.pop(), None)
 </s> add         self.assertEqual(stack.peek(), None)
        self.assertEqual(stack.pop(), None) </s> remove     "        assert_equal(stack.pop(), 5)\n",
    "        assert_equal(stack.peek(), None)\n",
 </s> add     "        self.assertEqual(stack.pop(), 5)\n",
    "        self.assertEqual(stack.peek(), None)\n", </s> remove     "        assert_equal(stack.pop(), 5)\n",
    "        assert_equal(stack.peek(), None)\n",
 </s> add     "        self.assertEqual(stack.pop(), 5)\n",
    "        self.assertEqual(stack.peek(), None)\n", </s> remove         assert_equal(stack.pop(), 3)
        assert_equal(stack.peek(), 2)
        assert_equal(stack.pop(), 2)
        assert_equal(stack.peek(), 1)
        assert_equal(stack.is_empty(), False)
        assert_equal(stack.pop(), 1)
        assert_equal(stack.peek(), None)
        assert_equal(stack.is_empty(), True)
 </s> add         self.assertEqual(stack.pop(), 3)
        self.assertEqual(stack.peek(), 2)
        self.assertEqual(stack.pop(), 2)
        self.assertEqual(stack.peek(), 1)
        self.assertEqual(stack.is_empty(), False)
        self.assertEqual(stack.pop(), 1)
        self.assertEqual(stack.peek(), None)
        self.assertEqual(stack.is_empty(), True) </s> remove         assert_equal(stack.peek(), 5)
        assert_equal(stack.minimum(), 5)
 </s> add         self.assertEqual(stack.peek(), 5)
        self.assertEqual(stack.minimum(), 5)
        self.assertEqual(stack.pop(), 5)
        self.assertEqual(stack.peek(), None)
  
          print('Test: One element')
          top = Node(5)
          stack = Stack(top)
        self.assertEqual(stack.pop(), 5)
        self.assertEqual(stack.peek(), None)
        self.assertEqual(stack.pop(), 5)
        self.assertEqual(stack.peek(), None)
  
          print('Test: More than one element')
          stack = Stack()
          stack.push(1)
          stack.push(2)
keep keep keep keep replace replace keep keep keep keep keep
 #273: Remove nose dependency for stacks_queues/ (#276) 
stacks_queues/stack/test_stack.py