Skip to content

Commit

Permalink
more coverage for orNot non-truncation, just in case
Browse files Browse the repository at this point in the history
  • Loading branch information
richardstartin committed Apr 9, 2020
1 parent 54f30de commit 33b8712
Showing 1 changed file with 14 additions and 0 deletions.
Expand Up @@ -7,6 +7,8 @@

import java.util.function.Consumer;

import static org.roaringbitmap.SeededTestData.TestDataSet.testCase;

@RunWith(Parameterized.class)
public class OrNotTruncationTest {

Expand All @@ -30,6 +32,18 @@ public static Object[] params() {
}},
{RoaringBitmap.bitmapOf(2), NO_OP},
{RoaringBitmap.bitmapOf(2, 3, 4), NO_OP},
{testCase().withArrayAt(0).build(), NO_OP},
{testCase().withRunAt(0).build(), NO_OP},
{testCase().withBitmapAt(0).build(), NO_OP},
{testCase().withArrayAt(0).withRunAt(1).build(), NO_OP},
{testCase().withRunAt(0).withRunAt(1).build(), NO_OP},
{testCase().withBitmapAt(0).withRunAt(1).build(), NO_OP},
{testCase().withArrayAt(1).build(), NO_OP},
{testCase().withRunAt(1).build(), NO_OP},
{testCase().withBitmapAt(1).build(), NO_OP},
{testCase().withArrayAt(1).withRunAt(2).build(), NO_OP},
{testCase().withRunAt(1).withRunAt(2).build(), NO_OP},
{testCase().withBitmapAt(1).withRunAt(2).build(), NO_OP},
};
}

Expand Down

0 comments on commit 33b8712

Please sign in to comment.