public void SortedPriorityQueueFunctionalityTest()
        {
            // create the queue and specify the comparison func. This is a simple lambda which returns the comparison on priorities
            SortedPriorityQueue <QueueElement> queue = new SortedPriorityQueue <QueueElement>((a, b) => a.Priority.CompareTo(b.Priority));

            // use the generic method for all queues.
            PriorityQueueFunctionalityTest(queue, 100, true);
        }
        public void SortedPriorityQueueFunctionalityTest()
        {
            // create the queue and specify the comparison func. This is a simple lambda which returns the comparison on priorities
            SortedPriorityQueue<QueueElement> queue = new SortedPriorityQueue<QueueElement>((a, b) => a.Priority.CompareTo(b.Priority));

            // use the generic method for all queues.
            PriorityQueueFunctionalityTest(queue, 100, true);
        }