/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 | 1111 roundingTest(nf, 0.00159999, 4, "0.0016"); in TestRounding487() 1112 roundingTest(nf, 0.00995, 4, "0.01"); in TestRounding487() 1114 roundingTest(nf, 12.3995, 3, "12.4"); in TestRounding487() 1116 roundingTest(nf, 12.4999, 0, "12"); in TestRounding487() 1117 roundingTest(nf, - 19.5, 0, "-20"); in TestRounding487() 1179 …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 | 1108 roundingTest(nf, 0.00159999, 4, "0.0016"); in TestRounding487() 1109 roundingTest(nf, 0.00995, 4, "0.01"); in TestRounding487() 1111 roundingTest(nf, 12.3995, 3, "12.4"); in TestRounding487() 1113 roundingTest(nf, 12.4999, 0, "12"); in TestRounding487() 1114 roundingTest(nf, - 19.5, 0, "-20"); in TestRounding487() 1176 …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 | 559 roundingTest(nnf, 0.00159999, 4, "0.0016"); in TestRounding487() 560 roundingTest(nnf, 0.00995, 4, "0.01"); in TestRounding487() 562 roundingTest(nnf, 12.3995, 3, "12.4"); in TestRounding487() 564 roundingTest(nnf, 12.4999, 0, "12"); in TestRounding487() 565 roundingTest(nnf, - 19.5, 0, "-20"); in TestRounding487() 573 static void roundingTest(UNumberFormat* nf, double x, int32_t maxFractionDigits, const char* expect… in roundingTest() function
|
/external/icu/icu4c/source/test/intltest/ |
D | numrgts.h | 56 void roundingTest(DecimalFormat *df, double x, UnicodeString& expected);
|
D | numrgts.cpp | 1183 roundingTest(&df, 12.35, s); in Test4093610() 1184 roundingTest(&df, 12.45, s); in Test4093610() 1186 roundingTest(&df, 12.452,s); in Test4093610() 1188 roundingTest(&df, 12.55, s); in Test4093610() 1189 roundingTest(&df, 12.65, s); in Test4093610() 1191 roundingTest(&df, 12.652,s); in Test4093610() 1193 roundingTest(&df, 12.75, s); in Test4093610() 1194 roundingTest(&df, 12.752,s); in Test4093610() 1195 roundingTest(&df, 12.85, s); in Test4093610() 1197 roundingTest(&df, 12.852,s); in Test4093610() [all …]
|
D | numfmtst.h | 411 void roundingTest(NumberFormat& nf, double x, int32_t maxFractionDigits, const char* expected);
|
D | numfmtst.cpp | 1340 roundingTest(*nf, 0.00159999, 4, "0.0016"); in TestRounding487() 1341 roundingTest(*nf, 0.00995, 4, "0.01"); in TestRounding487() 1343 roundingTest(*nf, 12.3995, 3, "12.4"); in TestRounding487() 1345 roundingTest(*nf, 12.4999, 0, "12"); in TestRounding487() 1346 roundingTest(*nf, - 19.5, 0, "-20"); in TestRounding487() 1454 NumberFormatTest::roundingTest(NumberFormat& nf, double x, int32_t maxFractionDigits, const char* e… in roundingTest() function in NumberFormatTest
|