Package org.insa.graphs.algorithm.utils
Class BinarySearchTreeTest
- java.lang.Object
-
- org.insa.graphs.algorithm.utils.PriorityQueueTest
-
- org.insa.graphs.algorithm.utils.BinarySearchTreeTest
-
public class BinarySearchTreeTest extends PriorityQueueTest
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.insa.graphs.algorithm.utils.PriorityQueueTest
PriorityQueueTest.MutableInteger, PriorityQueueTest.TestParameters<E extends java.lang.Comparable<E>>
-
-
Field Summary
-
Fields inherited from class org.insa.graphs.algorithm.utils.PriorityQueueTest
parameters
-
-
Constructor Summary
Constructors Constructor Description BinarySearchTreeTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PriorityQueue<PriorityQueueTest.MutableInteger>
createQueue()
Needs to be implemented by child class to actually provide priority queue implementation.PriorityQueue<PriorityQueueTest.MutableInteger>
createQueue(PriorityQueue<PriorityQueueTest.MutableInteger> queue)
Needs to be implemented by child class to actually provide priority queue implementation.-
Methods inherited from class org.insa.graphs.algorithm.utils.PriorityQueueTest
data, init, testDeleteMin, testDeleteThenRemove, testEmptyDeleteMin, testEmptyFindMin, testFindMin, testInsert, testIsEmpty, testRemove, testRemoveEmpty, testRemoveNotFound, testRemoveThenAdd, testRemoveTwice, testSize
-
-
-
-
Method Detail
-
createQueue
public PriorityQueue<PriorityQueueTest.MutableInteger> createQueue()
Description copied from class:PriorityQueueTest
Needs to be implemented by child class to actually provide priority queue implementation.- Specified by:
createQueue
in classPriorityQueueTest
- Returns:
- A new instance of a PriorityQueue implementation.
-
createQueue
public PriorityQueue<PriorityQueueTest.MutableInteger> createQueue(PriorityQueue<PriorityQueueTest.MutableInteger> queue)
Description copied from class:PriorityQueueTest
Needs to be implemented by child class to actually provide priority queue implementation.- Specified by:
createQueue
in classPriorityQueueTest
- Parameters:
queue
- Queue to copy.- Returns:
- Copy of the given queue.
-
-