/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | NumberRegressionTests.java | 701 roundingTest(df, 12.35, "12.4"); in Test4093610() 702 roundingTest(df, 12.45, "12.4"); in Test4093610() 703 roundingTest(df, 12.452,"12.5"); in Test4093610() 704 roundingTest(df, 12.55, "12.6"); in Test4093610() 705 roundingTest(df, 12.65, "12.6"); in Test4093610() 706 roundingTest(df, 12.652,"12.7"); in Test4093610() 707 roundingTest(df, 12.75, "12.8"); in Test4093610() 708 roundingTest(df, 12.752,"12.8"); in Test4093610() 709 roundingTest(df, 12.85, "12.8"); in Test4093610() 710 roundingTest(df, 12.852,"12.9"); in Test4093610() [all …]
|
D | NumberFormatTest.java | 1090 roundingTest(nf, 0.00159999, 4, "0.0016"); in TestRounding487() 1091 roundingTest(nf, 0.00995, 4, "0.01"); in TestRounding487() 1093 roundingTest(nf, 12.3995, 3, "12.4"); in TestRounding487() 1095 roundingTest(nf, 12.4999, 0, "12"); in TestRounding487() 1096 roundingTest(nf, - 19.5, 0, "-20"); in TestRounding487() 1158 …private void roundingTest(NumberFormat nf, double x, int maxFractionDigits, final String expected)… in roundingTest() method in NumberFormatTest
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | NumberRegressionTests.java | 698 roundingTest(df, 12.35, "12.4"); in Test4093610() 699 roundingTest(df, 12.45, "12.4"); in Test4093610() 700 roundingTest(df, 12.452,"12.5"); in Test4093610() 701 roundingTest(df, 12.55, "12.6"); in Test4093610() 702 roundingTest(df, 12.65, "12.6"); in Test4093610() 703 roundingTest(df, 12.652,"12.7"); in Test4093610() 704 roundingTest(df, 12.75, "12.8"); in Test4093610() 705 roundingTest(df, 12.752,"12.8"); in Test4093610() 706 roundingTest(df, 12.85, "12.8"); in Test4093610() 707 roundingTest(df, 12.852,"12.9"); in Test4093610() [all …]
|
D | NumberFormatTest.java | 1087 roundingTest(nf, 0.00159999, 4, "0.0016"); in TestRounding487() 1088 roundingTest(nf, 0.00995, 4, "0.01"); in TestRounding487() 1090 roundingTest(nf, 12.3995, 3, "12.4"); in TestRounding487() 1092 roundingTest(nf, 12.4999, 0, "12"); in TestRounding487() 1093 roundingTest(nf, - 19.5, 0, "-20"); in TestRounding487() 1155 …private void roundingTest(NumberFormat nf, double x, int maxFractionDigits, final String expected)… in roundingTest() method in NumberFormatTest
|
/external/icu/icu4c/source/test/cintltst/ |
D | cnmdptst.h | 56 static void roundingTest(UNumberFormat*, double, int32_t, const char*);
|
D | cnmdptst.c | 626 roundingTest(nnf, 0.00159999, 4, "0.0016"); in TestRounding487() 627 roundingTest(nnf, 0.00995, 4, "0.01"); in TestRounding487() 629 roundingTest(nnf, 12.3995, 3, "12.4"); in TestRounding487() 631 roundingTest(nnf, 12.4999, 0, "12"); in TestRounding487() 632 roundingTest(nnf, - 19.5, 0, "-20"); in TestRounding487() 640 static void roundingTest(UNumberFormat* nf, double x, int32_t maxFractionDigits, const char* expect… in roundingTest() function
|
/external/icu/icu4c/source/test/intltest/ |
D | numrgts.cpp | 1185 roundingTest(&df, 12.35, s); in Test4093610() 1186 roundingTest(&df, 12.45, s); in Test4093610() 1188 roundingTest(&df, 12.452,s); in Test4093610() 1190 roundingTest(&df, 12.55, s); in Test4093610() 1191 roundingTest(&df, 12.65, s); in Test4093610() 1193 roundingTest(&df, 12.652,s); in Test4093610() 1195 roundingTest(&df, 12.75, s); in Test4093610() 1196 roundingTest(&df, 12.752,s); in Test4093610() 1197 roundingTest(&df, 12.85, s); in Test4093610() 1199 roundingTest(&df, 12.852,s); in Test4093610() [all …]
|
D | numrgts.h | 56 void roundingTest(DecimalFormat *df, double x, UnicodeString& expected);
|
D | numfmtst.h | 390 void roundingTest(NumberFormat& nf, double x, int32_t maxFractionDigits, const char* expected);
|
D | numfmtst.cpp | 1292 roundingTest(*nf, 0.00159999, 4, "0.0016"); in TestRounding487() 1293 roundingTest(*nf, 0.00995, 4, "0.01"); in TestRounding487() 1295 roundingTest(*nf, 12.3995, 3, "12.4"); in TestRounding487() 1297 roundingTest(*nf, 12.4999, 0, "12"); in TestRounding487() 1298 roundingTest(*nf, - 19.5, 0, "-20"); in TestRounding487() 1406 NumberFormatTest::roundingTest(NumberFormat& nf, double x, int32_t maxFractionDigits, const char* e… in roundingTest() function in NumberFormatTest
|