public void ClearTest()
 {
     MyQueue<int> Queue = new MyArrayQueue<int>();
     Queue.Enqueue(1);
     Queue.Enqueue(2);
     Queue.Clear();
     Assert.AreEqual(Queue.Count, 0);
     Assert.AreEqual((Queue as MyArrayQueue<int>).Capacity, 10);
 }
        public void ClearTest()
        {
            MyQueue <int> Queue = new MyArrayQueue <int>();

            Queue.Enqueue(1);
            Queue.Enqueue(2);
            Queue.Clear();
            Assert.AreEqual(Queue.Count, 0);
            Assert.AreEqual((Queue as MyArrayQueue <int>).Capacity, 10);
        }