private void checkAscendingCardinalities(BHSDCodec[] family) {
for (int i = 1; i < family.length; i++) {
BHSDCodec previous = family[i-1];
BHSDCodec codec = family[i];
assertTrue(codec.largest() >= previous.largest());
assertTrue(codec.smallest() <= previous.smallest());
}
}
private void decodeFail(final Codec codec, final byte[] data)
throws IOException, Pack200Exception {