public void DoesPopRemoveElementWhenStackIsNotEmpty()
        {
            ArrayTypedStack stack = new ArrayTypedStack(3);

            stack.Push(3);
            stack.Push(2);
            int actual   = (int)stack.Pop();
            int expected = 2;

            Assert.AreEqual(expected, actual);
        }
        public void DoesPopDecreasedSize()
        {
            ArrayTypedStack stack = new ArrayTypedStack(3);

            stack.Push(3);
            stack.Push(2);
            stack.Pop();
            int actual   = stack.Size;
            int expected = 1;

            Assert.AreEqual(expected, actual);
        }
        public void DoesPopRemoveElementWhenStackIsEmpty()
        {
            ArrayTypedStack stack = new ArrayTypedStack(3);

            stack.Pop();
        }