decodeWithAssert("001", -1);
decodeWithAssert("01111010101", -21);
}
private void decodeWithAssert(String value, int expect) throws Exception {
StringBitInput in = new StringBitInput(value);
int result = decoder.decodeNext(in);
assertEquals(expect, result);
}