def test_topElement_stackEmpty(self):
     myStack = Stack()
     self.assertEqual(myStack.topElement(), "Stack empty")
 def test_push(self):
     myStack = Stack()
     myStack.push(5)
     self.assertEqual(myStack.topElement(), 5)
 def test_topElement(self):
     myStack = Stack()
     myStack.push(10)
     self.assertEqual(myStack.topElement(), 10)