Searched refs:longToFloat (Results 1 – 1 of 1) sorted by relevance
589 Method longToFloat = numericCastingMethod(long.class, float.class); in testCastIntegerToFloatingPoint() local590 assertEquals(0.0f, longToFloat.invoke(null, 0L)); in testCastIntegerToFloatingPoint()591 assertEquals(-1.0f, longToFloat.invoke(null, -1L)); in testCastIntegerToFloatingPoint()592 assertEquals(16777216f, longToFloat.invoke(null, 16777216L)); in testCastIntegerToFloatingPoint()593 assertEquals(16777216f, longToFloat.invoke(null, 16777217L)); in testCastIntegerToFloatingPoint()