@Test public void testPackUnpackLong() { long a = 0xdeadbeefdeadbeefL; long b = 0; byte[] c = new byte[Format.LONG_SIZE + 31]; Format.packLong(c, 10, a); b = Format.unpackLong(c, 10); assertEquals(a, b); }