public void MyTest1()
        {
            sizedQueue <int> sizedStack = new sizedQueue <int>(1);

            Assert.AreEqual(true, sizedStack.Push(8));
            Assert.AreEqual(false, sizedStack.Push(7));
            Assert.AreEqual(8, sizedStack.Pop());
            try { sizedStack.Pop(); }
            catch (Exception e) { Assert.AreEqual("Очередь пуста", e.Message); }
        }
        public void BaseQueueTest()
        {
            sizedQueue <int> sizedStack = new sizedQueue <int>();

            Assert.AreEqual(true, sizedStack.Push(1));
            Assert.AreEqual(1, sizedStack.Pop());
            Assert.AreEqual(true, sizedStack.Push(8));
            Assert.AreEqual(true, sizedStack.Push(7));
            Assert.AreEqual(true, sizedStack.Push(5));
            Assert.AreEqual(true, sizedStack.Push(1));
            Assert.AreEqual(true, sizedStack.Push(1));
            Assert.AreEqual(8, sizedStack.Pop());
            Assert.AreEqual(7, sizedStack.Pop());
            Assert.AreEqual(5, sizedStack.Pop());
            Assert.AreEqual(1, sizedStack.Pop());
            Assert.AreEqual(true, sizedStack.Push(3));
            Assert.AreEqual(true, sizedStack.Push(4));
        }