Home
last modified time | relevance | path

Searched refs:floatTestCases (Results 1 – 1 of 1) sorted by relevance

/libcore/ojluni/src/test/java/lang/Double/
DToHexStringTest.java144 String [][] floatTestCases = { in testToHexString() local
163 for (int i = 0; i < floatTestCases.length; i++) { in testToHexString()
164 String result = Float.toHexString(Float.parseFloat(floatTestCases[i][0])); in testToHexString()
165 Assert.assertEquals(result, floatTestCases[i][1], in testToHexString()
166 "For floating-point string " + floatTestCases[i][0] + in testToHexString()
167 … ", expected hex output\n" + floatTestCases[i][1] + ", got\n" + result +"."); in testToHexString()