@Test
public void testSignByte() {

    byte b = SignalUtil.sign(255);
    assertEquals(-1,b);
    b = SignalUtil.sign(0);
    assertEquals(0,b);
    b = SignalUtil.sign(254);
    assertEquals(-2,b);
    b = SignalUtil.sign(128);
    assertEquals(-128,b);
    b = SignalUtil.sign(192);
    assertEquals(-64,b);
}