// Path: src/main/java/com/github/davidmoten/rtree/internal/util/BoundedPriorityQueue.java
// public static <T> BoundedPriorityQueue<T> create(final int maxSize,
//         final Comparator<? super T> comparator) {
//     return new BoundedPriorityQueue<T>(maxSize, comparator);
// }


import static com.github.davidmoten.rtree.internal.util.BoundedPriorityQueue.create;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import java.util.Comparator;
import org.junit.Test;
import com.github.davidmoten.guavamini.Sets;
package com.github.davidmoten.rtree.internal.util;





public class BoundedPriorityQueueTest {

    private static final Comparator<Integer> comparator = new Comparator<Integer>() {

        @Override
        public int compare(Integer o1, Integer o2) {
            return o1.compareTo(o2);
        }
    };

    @Test
    public void emptyQueueAsListIsEmpty() {
// Path: src/main/java/com/github/davidmoten/rtree/internal/util/BoundedPriorityQueue.java
// public static <T> BoundedPriorityQueue<T> create(final int maxSize,
//         final Comparator<? super T> comparator) {
//     return new BoundedPriorityQueue<T>(maxSize, comparator);
// }


// Path: src/test/java/com/github/davidmoten/rtree/internal/util/BoundedPriorityQueueTest.java
import static com.github.davidmoten.rtree.internal.util.BoundedPriorityQueue.create;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import java.util.Comparator;
import org.junit.Test;
import com.github.davidmoten.guavamini.Sets;

package com.github.davidmoten.rtree.internal.util;





public class BoundedPriorityQueueTest {

    private static final Comparator<Integer> comparator = new Comparator<Integer>() {

        @Override
        public int compare(Integer o1, Integer o2) {
            return o1.compareTo(o2);
        }
    };

    @Test
    public void emptyQueueAsListIsEmpty() {
        BoundedPriorityQueue<Integer> q = create(2, comparator);