Searched refs:intToByte (Results 1 – 1 of 1) sorted by relevance
597 Method intToByte = numericCastingMethod(int.class, byte.class); in testCastIntegerToInteger() local598 assertEquals((byte) 0x34, intToByte.invoke(null, 0x00000034)); in testCastIntegerToInteger()599 assertEquals((byte) 0x34, intToByte.invoke(null, 0xabcd1234)); in testCastIntegerToInteger()600 assertEquals((byte) 0x34, intToByte.invoke(null, 0xffffff34)); in testCastIntegerToInteger()