OldDecimalFormatTest.java | 600 private void compare(String testName, String format, String expected) { method in class:OldDecimalFormatTest 605 private boolean compare(int count, String format, String expected) { method in class:OldDecimalFormatTest 624 compare("00.0#E0: 0.0", df.format(0.0), "00.0E0"); 625 compare("00.0#E0: 1.0", df.format(1.0), "10.0E-1"); 626 compare("00.0#E0: 12.0", df.format(12.0), "12.0E0"); 627 compare("00.0#E0: 123.0", df.format(123.0), "12.3E1"); 628 compare("00.0#E0: 1234.0", df.format(1234.0), "12.34E2"); 629 compare("00.0#E0: 12346.0", df.format(12346.0), "12.35E3"); 630 compare("00.0#E0: 99999.0", df.format(99999.0), "10.0E4"); 631 compare("00.0#E0: 1.2", df.format(1.2), "12.0E-1") [all...] |