BE_Graphe_alejeune_rlacroix/be-graphes-algos/src/test/java/org/insa/graphs/algorithm/utils/BinarySearchTreeTest.java
2022-03-24 21:32:41 +01:00

15 wiersze
420 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);
}
}