@Test
void testGetBooleanMask() {

    RollUpBitMask mask;
    List<Integer> posList;
    posList = Arrays.asList(0, 1, 2, 3, 4);
    mask = RollUpBitMask.fromTagPositions(posList);
    assertThat(mask.getBooleanMask(5)).isEqualTo(Arrays.asList(true, true, true, true, true));
    posList = Arrays.asList(0, 2, 4);
    mask = RollUpBitMask.fromTagPositions(posList);
    assertThat(mask.getBooleanMask(5)).isEqualTo(Arrays.asList(true, false, true, false, true));
    posList = Arrays.asList();
    mask = RollUpBitMask.fromTagPositions(posList);
    assertThat(mask.getBooleanMask(5)).isEqualTo(Arrays.asList(false, false, false, false, false));
}