Пример #1
0
        public void EnqueueTest()
        {
            var queue = new M10.Generics_and_Collections.Queue <int>();

            queue.Enqueue(1);
            queue.Enqueue(2);
            queue.Enqueue(3);
            CollectionAssert.AreEqual(new int[] { 1, 2, 3 }, queue.ToArray());
        }
Пример #2
0
        public void TestException()
        {
            var queue = new M10.Generics_and_Collections.Queue <int>();

            queue.Dequeue();
        }