/external/icu/icu4c/source/test/cintltst/ |
H A D | cnmdptst.h | 56 static void roundingTest(UNumberFormat*, double, int32_t, const char*);
|
H A D | cnmdptst.c | 626 roundingTest(nnf, 0.00159999, 4, "0.0016"); 627 roundingTest(nnf, 0.00995, 4, "0.01"); 629 roundingTest(nnf, 12.3995, 3, "12.4"); 631 roundingTest(nnf, 12.4999, 0, "12"); 632 roundingTest(nnf, - 19.5, 0, "-20"); 640 static void roundingTest(UNumberFormat* nf, double x, int32_t maxFractionDigits, const char* expected) function
|
/external/icu/icu4c/source/test/intltest/ |
H A D | numrgts.h | 56 void roundingTest(DecimalFormat *df, double x, UnicodeString& expected);
|
H A D | numrgts.cpp | 1183 roundingTest(df, 12.35, s); 1184 roundingTest(df, 12.45, s); 1186 roundingTest(df, 12.452,s); 1188 roundingTest(df, 12.55, s); 1189 roundingTest(df, 12.65, s); 1191 roundingTest(df, 12.652,s); 1193 roundingTest(df, 12.75, s); 1194 roundingTest(df, 12.752,s); 1195 roundingTest(df, 12.85, s); 1197 roundingTest(d 1206 void NumberFormatRegressionTest::roundingTest(DecimalFormat *df, double x, UnicodeString& expected) function in class:NumberFormatRegressionTest [all...] |
H A D | numfmtst.h | 324 void roundingTest(NumberFormat& nf, double x, int32_t maxFractionDigits, const char* expected);
|
H A D | numfmtst.cpp | 1585 roundingTest(*nf, 0.00159999, 4, "0.0016"); 1586 roundingTest(*nf, 0.00995, 4, "0.01"); 1588 roundingTest(*nf, 12.3995, 3, "12.4"); 1590 roundingTest(*nf, 12.4999, 0, "12"); 1591 roundingTest(*nf, - 19.5, 0, "-20"); 1697 NumberFormatTest::roundingTest(NumberFormat& nf, double x, int32_t maxFractionDigits, const char* expected) function in class:NumberFormatTest
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
H A D | NumberRegressionTests.java | 698 roundingTest(df, 12.35, "12.4"); 699 roundingTest(df, 12.45, "12.4"); 700 roundingTest(df, 12.452,"12.5"); 701 roundingTest(df, 12.55, "12.6"); 702 roundingTest(df, 12.65, "12.6"); 703 roundingTest(df, 12.652,"12.7"); 704 roundingTest(df, 12.75, "12.8"); 705 roundingTest(df, 12.752,"12.8"); 706 roundingTest(df, 12.85, "12.8"); 707 roundingTest(d 712 void roundingTest(DecimalFormat df, double x, String expected) method in class:NumberRegressionTests [all...] |
H A D | NumberFormatTest.java | 1366 roundingTest(nf, 0.00159999, 4, "0.0016"); 1367 roundingTest(nf, 0.00995, 4, "0.01"); 1369 roundingTest(nf, 12.3995, 3, "12.4"); 1371 roundingTest(nf, 12.4999, 0, "12"); 1372 roundingTest(nf, - 19.5, 0, "-20"); 1434 private void roundingTest(NumberFormat nf, double x, int maxFractionDigits, final String expected) { method in class:NumberFormatTest
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
H A D | NumberRegressionTests.java | 697 roundingTest(df, 12.35, "12.4"); 698 roundingTest(df, 12.45, "12.4"); 699 roundingTest(df, 12.452,"12.5"); 700 roundingTest(df, 12.55, "12.6"); 701 roundingTest(df, 12.65, "12.6"); 702 roundingTest(df, 12.652,"12.7"); 703 roundingTest(df, 12.75, "12.8"); 704 roundingTest(df, 12.752,"12.8"); 705 roundingTest(df, 12.85, "12.8"); 706 roundingTest(d 711 void roundingTest(DecimalFormat df, double x, String expected) method in class:NumberRegressionTests [all...] |
H A D | NumberFormatTest.java | 1365 roundingTest(nf, 0.00159999, 4, "0.0016"); 1366 roundingTest(nf, 0.00995, 4, "0.01"); 1368 roundingTest(nf, 12.3995, 3, "12.4"); 1370 roundingTest(nf, 12.4999, 0, "12"); 1371 roundingTest(nf, - 19.5, 0, "-20"); 1433 private void roundingTest(NumberFormat nf, double x, int maxFractionDigits, final String expected) { method in class:NumberFormatTest
|