Searched refs:intToShort (Results 1 – 1 of 1) sorted by relevance
587 Method intToShort = numericCastingMethod(int.class, short.class); in testCastIntegerToInteger() local588 assertEquals((short) 0x1234, intToShort.invoke(null, 0x00001234)); in testCastIntegerToInteger()589 assertEquals((short) 0x1234, intToShort.invoke(null, 0xabcd1234)); in testCastIntegerToInteger()590 assertEquals((short) 0x1234, intToShort.invoke(null, 0xffff1234)); in testCastIntegerToInteger()