@@ -0,0 +1,1985 @@
+package org.roaringbitmap;%0A%0Aimport org.junit.Test;%0A%0Aimport java.util.Arrays;%0A%0Aimport static org.junit.Assert.assertEquals;%0A%0Apublic class TestFastAggregation %7B%0A%0A    @Test%0A    public void horizontal_or() %7B%0A        RoaringBitmap rb1 = RoaringBitmap.bitmapOf(0, 1, 2);%0A        RoaringBitmap rb2 = RoaringBitmap.bitmapOf(0, 5, 6);%0A        RoaringBitmap rb3 = RoaringBitmap.bitmapOf(1%3C%3C16, 2%3C%3C16);%0A        RoaringBitmap result = FastAggregation.horizontal_or(Arrays.asList(rb1, rb2, rb3));%0A        RoaringBitmap expected = RoaringBitmap.bitmapOf(0, 1, 2, 5, 6, 1%3C%3C16, 2%3C%3C16);%0A        assertEquals(expected, result);%0A    %7D%0A%0A    @Test%0A    public void horizontal_or2() %7B%0A        RoaringBitmap rb1 = RoaringBitmap.bitmapOf(0, 1, 2);%0A        RoaringBitmap rb2 = RoaringBitmap.bitmapOf(0, 5, 6);%0A        RoaringBitmap rb3 = RoaringBitmap.bitmapOf(1%3C%3C16, 2%3C%3C16);%0A        RoaringBitmap result = FastAggregation.horizontal_or(rb1, rb2, rb3);%0A        RoaringBitmap expected = RoaringBitmap.bitmapOf(0, 1, 2, 5, 6, 1%3C%3C16, 2%3C%3C16);%0A        assertEquals(expected, result);%0A    %7D%0A%0A    @Test%0A    public void priorityqueue_or() %7B%0A        RoaringBitmap rb1 = RoaringBitmap.bitmapOf(0, 1, 2);%0A        RoaringBitmap rb2 = RoaringBitmap.bitmapOf(0, 5, 6);%0A        RoaringBitmap rb3 = RoaringBitmap.bitmapOf(1%3C%3C16, 2%3C%3C16);%0A        RoaringBitmap result = FastAggregation.priorityqueue_or(Arrays.asList(rb1, rb2, rb3).iterator());%0A        RoaringBitmap expected = RoaringBitmap.bitmapOf(0, 1, 2, 5, 6, 1%3C%3C16, 2%3C%3C16);%0A        assertEquals(expected, result);%0A    %7D%0A%0A    @Test%0A    public void priorityqueue_or2() %7B%0A        RoaringBitmap rb1 = RoaringBitmap.bitmapOf(0, 1, 2);%0A        RoaringBitmap rb2 = RoaringBitmap.bitmapOf(0, 5, 6);%0A        RoaringBitmap rb3 = RoaringBitmap.bitmapOf(1%3C%3C16, 2%3C%3C16);%0A        RoaringBitmap result = FastAggregation.priorityqueue_or(rb1, rb2, rb3);%0A        RoaringBitmap expected = RoaringBitmap.bitmapOf(0, 1, 2, 5, 6, 1%3C%3C16, 2%3C%3C16);%0A        assertEquals(expected, result);%0A    %7D%0A%0A%7D%0A

Improve code coverage