for (int i = 1; i < 255; i++)
last = decode(BYTE1D, new byte[] { (byte) 1 }, i, last);
}
public void testByte1DeltaException() throws Exception {
Codec BYTE1D = new BHSDCodec(1, 256, 0, 1);
try {
BYTE1D.decode(new ByteArrayInputStream(new byte[] { (byte) 1 }));
fail("Decoding with a delta stream and not passing a last value should throw exception");
} catch (Pack200Exception e) {
assertTrue(true);
}
}