public void EnsureLifoOrder()
        {
            string             first     = "first";
            string             second    = "second";
            LifoQueue <string> lifoQueue = new LifoQueue <string>();

            lifoQueue.Push(first);
            lifoQueue.Push(second);
            Assert.Equal(second, lifoQueue.Pop());
            Assert.Equal(first, lifoQueue.Pop());
        }
        public void TestLoadedLifo()
        {
            LifoQueue <string> lifoQueue = new LifoQueue <string>();

            lifoQueue.Push("element");
            Assert.False(lifoQueue.IsEmpty());
        }
        public void TestClearQueue()
        {
            LifoQueue <string> lifoQueue = new LifoQueue <string>();

            lifoQueue.Push("One-Elemement");
            lifoQueue.Clear();
            Assert.True(lifoQueue.IsEmpty());
        }