Class PriorityQueueTest

    • Constructor Detail

      • PriorityQueueTest

        public PriorityQueueTest()
    • Method Detail

      • createQueue

        public abstract PriorityQueue<PriorityQueueTest.MutableInteger> createQueue()
        Needs to be implemented by child class to actually provide priority queue implementation.
        Returns:
        A new instance of a PriorityQueue implementation.
      • data

        public static java.util.Collection<java.lang.Object> data()
        Set of parameters.
      • init

        public void init()
      • testIsEmpty

        public void testIsEmpty()
      • testSize

        public void testSize()
      • testInsert

        public void testInsert()
      • testEmptyFindMin

        public void testEmptyFindMin()
      • testFindMin

        public void testFindMin()
      • testEmptyDeleteMin

        public void testEmptyDeleteMin()
      • testDeleteMin

        public void testDeleteMin()
      • testRemoveEmpty

        public void testRemoveEmpty()
      • testRemoveNotFound

        public void testRemoveNotFound()
      • testDeleteThenRemove

        public void testDeleteThenRemove()
      • testRemoveTwice

        public void testRemoveTwice()
      • testRemove

        public void testRemove()
      • testRemoveThenAdd

        public void testRemoveThenAdd()