Home
last modified time | relevance | path

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

/external/guava/guava-tests/test/com/google/common/primitives/
DDoublesTest.java418 private static void checkTryParse(String input) { in checkTryParse() method in DoublesTest
426 private static void checkTryParse(double expected, String input) { in checkTryParse() method in DoublesTest
440 checkTryParse( in testTryParseHex()
457 checkTryParse(String.copyValueOf(tmp, 0, Character.charCount(i))); in testTryParseAllCodePoints()
464 checkTryParse(d, Double.toString(d)); in testTryParseOfToStringIsOriginal()
471 checkTryParse(d, Double.toHexString(d)); in testTryParseOfToHexStringIsOriginal()
477 checkTryParse("NaN"); in testTryParseNaN()
478 checkTryParse("+NaN"); in testTryParseNaN()
479 checkTryParse("-NaN"); in testTryParseNaN()
484 checkTryParse(Double.POSITIVE_INFINITY, "Infinity"); in testTryParseInfinity()
[all …]
DFloatsTest.java409 private static void checkTryParse(String input) { in checkTryParse() method in FloatsTest
414 private static void checkTryParse(float expected, String input) { in checkTryParse() method in FloatsTest
427 checkTryParse( in testTryParseHex()
444 checkTryParse(String.copyValueOf(tmp, 0, Character.charCount(i))); in testTryParseAllCodePoints()
451 checkTryParse(f, Float.toString(f)); in testTryParseOfToStringIsOriginal()
458 checkTryParse(f, Float.toHexString(f)); in testTryParseOfToHexStringIsOriginal()
464 checkTryParse("NaN"); in testTryParseNaN()
465 checkTryParse("+NaN"); in testTryParseNaN()
466 checkTryParse("-NaN"); in testTryParseNaN()
471 checkTryParse(Float.POSITIVE_INFINITY, "Infinity"); in testTryParseInfinity()
[all …]