17 lines
433 B
Java
17 lines
433 B
Java
package org.insa.graphs.algorithm.utils;
|
|
|
|
public class BinarySearchTreeTest extends PriorityQueueTest {
|
|
|
|
@Override
|
|
public PriorityQueue<MutableInteger> createQueue() {
|
|
return new BinarySearchTree<>();
|
|
}
|
|
|
|
@Override
|
|
public PriorityQueue<MutableInteger> createQueue(
|
|
PriorityQueue<MutableInteger> queue) {
|
|
return new BinarySearchTree<>((BinarySearchTree<MutableInteger>) queue);
|
|
}
|
|
|
|
}
|