@Test public void test_int8_t() throws IOException { for (Integer exp : expected_int8) { SignedByte result = binFileReader.int8_t(); assertEquals("int8_t " + Integer.toHexString(exp) + " asInt()", exp, result.asInt()); assertEquals( "int8_t " + Integer.toHexString(exp) + " getSignedValue()", (Byte) exp.byteValue(), result.getSignedValue()); assertEquals( "int8_t " + Integer.toHexString(exp) + " toString()", ((Byte) exp.byteValue()).toString(), result.toString()); } }