@Test
void fromMaskInvalidMaskValue() {

    assertThatThrownBy(() -> {
        // one value too many
        RollUpBitMask.fromMask(new short[]{9, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1});
    }).isInstanceOf(RuntimeException.class);
}