// encodeWithAssert(1, "101");
// encodeWithAssert(21, "11111010101");
}
private void encodeWithAssert(int value, String expected) throws Exception {
StringBitOutput out = new StringBitOutput();
encoder.encode(value, out);
assertEquals(expected, out.getOutputedString());
}