コード例 #1
0
        public void RemoveTest10()
        {
            PriorityQueue <int> priorityQueue;

            int[] ints = new int[5];
            priorityQueue = PriorityQueueFactory.Create(ints);
            this.RemoveTest(priorityQueue, 0);
        }
コード例 #2
0
        public void ClearTest10()
        {
            PriorityQueue <int> priorityQueue;

            int[] ints = new int[5];
            priorityQueue = PriorityQueueFactory.Create(ints);
            this.ClearTest(priorityQueue);
            PexAssert.IsNotNull((object)priorityQueue);
            PexAssert.AreEqual <bool>
                (false, ((CollectionBase <int>)priorityQueue).IsSynchronized);
            PexAssert.AreEqual <int>(0, ((CollectionBase <int>)priorityQueue).Count);
        }