@Test
public void testByteConvert() {

    byte[] bt = SignalUtil.twoBytesFromInt((2 << 15)-1);
    assertEquals(-1,bt[0]);
    assertEquals(-1,bt[1]);
    bt = SignalUtil.twoBytesFromInt(0);
    assertEquals(0,bt[0]);
    assertEquals(0,bt[1]);
    bt = SignalUtil.twoBytesFromInt(511);
    assertEquals(1,bt[0]);
    assertEquals(-1,bt[1]);
}