/**
   * Test method for {@link tuwien.auto.calimero.dptxlator.DPTXlator4ByteSigned#getValueSigned()}.
   *
   * @throws KNXFormatException
   */
  public void testGetValueSigned() throws KNXFormatException {
    assertEquals(0, t.getValueSigned());

    for (int i = 0; i < longs.length - 1; i++) {
      t.setData(data, 8 * i);
      assertEquals(longs[i], t.getValueSigned());
    }
    t.setData(dataValue2, 2);
    assertEquals(longs[3], t.getValueSigned());

    for (int i = 0; i < strings.length; i++) {
      t.setValue(strings[i]);
      assertEquals(longs[i], t.getValueSigned());
    }
  }
 /**
  * Test method for {@link tuwien.auto.calimero.dptxlator.DPTXlator4ByteSigned#setValue(int)}.
  *
  * @throws KNXFormatException
  */
 public void testSetValueInt() throws KNXFormatException {
   for (int i = 0; i < longs.length; i++) {
     t.setValue(longs[i]);
     assertEquals(longs[i], t.getValueSigned());
     Helper.assertSimilar(strings[i], t.getValue());
   }
 }