Home
last modified time | relevance | path

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

/external/chromium_org/third_party/icu/source/test/cintltst/
Dcnmdptst.h53 static void roundingTest(UNumberFormat*, double, int32_t, const char*);
Dcnmdptst.c623 roundingTest(nnf, 0.00159999, 4, "0.0016"); in TestRounding487()
624 roundingTest(nnf, 0.00995, 4, "0.01"); in TestRounding487()
626 roundingTest(nnf, 12.3995, 3, "12.4"); in TestRounding487()
628 roundingTest(nnf, 12.4999, 0, "12"); in TestRounding487()
629 roundingTest(nnf, - 19.5, 0, "-20"); in TestRounding487()
637 static void roundingTest(UNumberFormat* nf, double x, int32_t maxFractionDigits, const char* expect… in roundingTest() function
/external/icu/icu4c/source/test/cintltst/
Dcnmdptst.h53 static void roundingTest(UNumberFormat*, double, int32_t, const char*);
Dcnmdptst.c623 roundingTest(nnf, 0.00159999, 4, "0.0016"); in TestRounding487()
624 roundingTest(nnf, 0.00995, 4, "0.01"); in TestRounding487()
626 roundingTest(nnf, 12.3995, 3, "12.4"); in TestRounding487()
628 roundingTest(nnf, 12.4999, 0, "12"); in TestRounding487()
629 roundingTest(nnf, - 19.5, 0, "-20"); in TestRounding487()
637 static void roundingTest(UNumberFormat* nf, double x, int32_t maxFractionDigits, const char* expect… in roundingTest() function
/external/icu/icu4c/source/test/intltest/
Dnumrgts.h54 void roundingTest(DecimalFormat *df, double x, UnicodeString& expected);
Dnumrgts.cpp1173 roundingTest(df, 12.35, s); in Test4093610()
1174 roundingTest(df, 12.45, s); in Test4093610()
1176 roundingTest(df, 12.452,s); in Test4093610()
1178 roundingTest(df, 12.55, s); in Test4093610()
1179 roundingTest(df, 12.65, s); in Test4093610()
1181 roundingTest(df, 12.652,s); in Test4093610()
1183 roundingTest(df, 12.75, s); in Test4093610()
1184 roundingTest(df, 12.752,s); in Test4093610()
1185 roundingTest(df, 12.85, s); in Test4093610()
1187 roundingTest(df, 12.852,s); in Test4093610()
[all …]
Dnumfmtst.h288 void roundingTest(NumberFormat& nf, double x, int32_t maxFractionDigits, const char* expected);
Dnumfmtst.cpp1136 roundingTest(*nf, 0.00159999, 4, "0.0016"); in TestRounding487()
1137 roundingTest(*nf, 0.00995, 4, "0.01"); in TestRounding487()
1139 roundingTest(*nf, 12.3995, 3, "12.4"); in TestRounding487()
1141 roundingTest(*nf, 12.4999, 0, "12"); in TestRounding487()
1142 roundingTest(*nf, - 19.5, 0, "-20"); in TestRounding487()
1248 NumberFormatTest::roundingTest(NumberFormat& nf, double x, int32_t maxFractionDigits, const char* e… in roundingTest() function in NumberFormatTest
/external/chromium_org/third_party/icu/source/test/intltest/
Dnumrgts.h54 void roundingTest(DecimalFormat *df, double x, UnicodeString& expected);
Dnumrgts.cpp1173 roundingTest(df, 12.35, s); in Test4093610()
1174 roundingTest(df, 12.45, s); in Test4093610()
1176 roundingTest(df, 12.452,s); in Test4093610()
1178 roundingTest(df, 12.55, s); in Test4093610()
1179 roundingTest(df, 12.65, s); in Test4093610()
1181 roundingTest(df, 12.652,s); in Test4093610()
1183 roundingTest(df, 12.75, s); in Test4093610()
1184 roundingTest(df, 12.752,s); in Test4093610()
1185 roundingTest(df, 12.85, s); in Test4093610()
1187 roundingTest(df, 12.852,s); in Test4093610()
[all …]
Dnumfmtst.h272 void roundingTest(NumberFormat& nf, double x, int32_t maxFractionDigits, const char* expected);
Dnumfmtst.cpp1132 roundingTest(*nf, 0.00159999, 4, "0.0016"); in TestRounding487()
1133 roundingTest(*nf, 0.00995, 4, "0.01"); in TestRounding487()
1135 roundingTest(*nf, 12.3995, 3, "12.4"); in TestRounding487()
1137 roundingTest(*nf, 12.4999, 0, "12"); in TestRounding487()
1138 roundingTest(*nf, - 19.5, 0, "-20"); in TestRounding487()
1244 NumberFormatTest::roundingTest(NumberFormat& nf, double x, int32_t maxFractionDigits, const char* e… in roundingTest() function in NumberFormatTest