assertFalse(byte1.encodes(256));
BHSDCodec byte1s = new BHSDCodec(1, 256, 1);
assertEquals(256, byte1s.cardinality());
assertEquals(-128, byte1s.smallest());
assertEquals(127, byte1s.largest());
assertFalse(byte1s.encodes(-257));
assertFalse(byte1s.encodes(-256));
assertFalse(byte1s.encodes(-255));
assertFalse(byte1s.encodes(-129));
assertTrue(byte1s.encodes(-128));
assertTrue(byte1s.encodes(-127));