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/
DFloatsTest.java410 private static void checkTryParse(String input) { in checkTryParse() method in FloatsTest
415 private static void checkTryParse(float expected, String input) { in checkTryParse() method in FloatsTest
428 checkTryParse( in testTryParseHex()
445 checkTryParse(String.copyValueOf(tmp, 0, Character.charCount(i))); in testTryParseAllCodePoints()
452 checkTryParse(f, Float.toString(f)); in testTryParseOfToStringIsOriginal()
459 checkTryParse(f, Float.toHexString(f)); in testTryParseOfToHexStringIsOriginal()
465 checkTryParse("NaN"); in testTryParseNaN()
466 checkTryParse("+NaN"); in testTryParseNaN()
467 checkTryParse("-NaN"); in testTryParseNaN()
472 checkTryParse(Float.POSITIVE_INFINITY, "Infinity"); in testTryParseInfinity()
[all …]
DDoublesTest.java419 private static void checkTryParse(String input) { in checkTryParse() method in DoublesTest
427 private static void checkTryParse(double expected, String input) { in checkTryParse() method in DoublesTest
441 checkTryParse( in testTryParseHex()
458 checkTryParse(String.copyValueOf(tmp, 0, Character.charCount(i))); in testTryParseAllCodePoints()
465 checkTryParse(d, Double.toString(d)); in testTryParseOfToStringIsOriginal()
472 checkTryParse(d, Double.toHexString(d)); in testTryParseOfToHexStringIsOriginal()
478 checkTryParse("NaN"); in testTryParseNaN()
479 checkTryParse("+NaN"); in testTryParseNaN()
480 checkTryParse("-NaN"); in testTryParseNaN()
485 checkTryParse(Double.POSITIVE_INFINITY, "Infinity"); in testTryParseInfinity()
[all …]