public void Pop_Should_RemoveItemsFromTheEnd()
        {
            // arrange
            var stack = new StackableList <int>();

            // act
            stack.Add(10);
            stack.Add(11);
            stack.Pop();

            // assert
            List <int> .Enumerator enumerator = stack.GetEnumerator();
            enumerator.MoveNext();
            Assert.Equal(10, enumerator.Current);
            Assert.False(enumerator.MoveNext());
        }
        public void Push_Should_AddElementsAtTheEnd()
        {
            // arrange
            var stack = new StackableList <int>();

            // act
            stack.Add(10);
            stack.Add(11);

            // assert
            List <int> .Enumerator enumerator = stack.GetEnumerator();
            enumerator.MoveNext();
            Assert.Equal(10, enumerator.Current);
            enumerator.MoveNext();
            Assert.Equal(11, enumerator.Current);
            Assert.False(enumerator.MoveNext());
        }