}
};
public void testDecodeBandInt() throws IOException, Pack200Exception {
BHSDCodec codec = Codec.BYTE1;
byte[] bytes = new byte[]{(byte)3,(byte)56,(byte)122,(byte)78};
InputStream in = new ByteArrayInputStream(bytes);
int[] ints = bandSet.decodeBandInt("Test Band", in, codec, 4);
for (int i = 0; i < ints.length; i++) {
assertEquals("Wrong value in position " + i, ints[i], bytes[i]);