Ejemplo n.º 1
0
        /******************************
         * TESTING
         *******************************/
        // Meant to be only used for testing
        // We can keep the encapsulation for the normal program by enabling these functions only for testing

        public static void testClear() // Make the heap empty for each initialization in UnitTest
        {
            maxHeap = new MaxHeap();
        }