Home
last modified time | relevance | path

Searched refs:roundingTest (Results 1 – 10 of 10) sorted by relevance

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DNumberRegressionTests.java701 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 …]
DNumberFormatTest.java1090 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/
DNumberRegressionTests.java698 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 …]
DNumberFormatTest.java1087 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/
Dcnmdptst.h56 static void roundingTest(UNumberFormat*, double, int32_t, const char*);
Dcnmdptst.c626 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/
Dnumrgts.cpp1185 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 …]
Dnumrgts.h56 void roundingTest(DecimalFormat *df, double x, UnicodeString& expected);
Dnumfmtst.h390 void roundingTest(NumberFormat& nf, double x, int32_t maxFractionDigits, const char* expected);
Dnumfmtst.cpp1292 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