Home
last modified time | relevance | path

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

/external/chromium/third_party/icu/source/test/intltest/
Dnumrgts.cpp1168 roundingTest(df, 12.35, s); in Test4093610()
1169 roundingTest(df, 12.45, s); in Test4093610()
1171 roundingTest(df, 12.452,s); in Test4093610()
1173 roundingTest(df, 12.55, s); in Test4093610()
1174 roundingTest(df, 12.65, s); in Test4093610()
1176 roundingTest(df, 12.652,s); in Test4093610()
1178 roundingTest(df, 12.75, s); in Test4093610()
1179 roundingTest(df, 12.752,s); in Test4093610()
1180 roundingTest(df, 12.85, s); in Test4093610()
1182 roundingTest(df, 12.852,s); in Test4093610()
[all …]
Dnumrgts.h54 void roundingTest(DecimalFormat *df, double x, UnicodeString& expected);
Dnumfmtst.h230 void roundingTest(NumberFormat& nf, double x, int32_t maxFractionDigits, const char* expected);
Dnumfmtst.cpp851 roundingTest(*nf, 0.00159999, 4, "0.0016"); in TestRounding487()
852 roundingTest(*nf, 0.00995, 4, "0.01"); in TestRounding487()
854 roundingTest(*nf, 12.3995, 3, "12.4"); in TestRounding487()
856 roundingTest(*nf, 12.4999, 0, "12"); in TestRounding487()
857 roundingTest(*nf, - 19.5, 0, "-20"); in TestRounding487()
963 NumberFormatTest::roundingTest(NumberFormat& nf, double x, int32_t maxFractionDigits, const char* e… in roundingTest() function in NumberFormatTest
/external/icu4c/test/intltest/
Dnumrgts.cpp1168 roundingTest(df, 12.35, s); in Test4093610()
1169 roundingTest(df, 12.45, s); in Test4093610()
1171 roundingTest(df, 12.452,s); in Test4093610()
1173 roundingTest(df, 12.55, s); in Test4093610()
1174 roundingTest(df, 12.65, s); in Test4093610()
1176 roundingTest(df, 12.652,s); in Test4093610()
1178 roundingTest(df, 12.75, s); in Test4093610()
1179 roundingTest(df, 12.752,s); in Test4093610()
1180 roundingTest(df, 12.85, s); in Test4093610()
1182 roundingTest(df, 12.852,s); in Test4093610()
[all …]
Dnumrgts.h54 void roundingTest(DecimalFormat *df, double x, UnicodeString& expected);
Dnumfmtst.h240 void roundingTest(NumberFormat& nf, double x, int32_t maxFractionDigits, const char* expected);
Dnumfmtst.cpp857 roundingTest(*nf, 0.00159999, 4, "0.0016"); in TestRounding487()
858 roundingTest(*nf, 0.00995, 4, "0.01"); in TestRounding487()
860 roundingTest(*nf, 12.3995, 3, "12.4"); in TestRounding487()
862 roundingTest(*nf, 12.4999, 0, "12"); in TestRounding487()
863 roundingTest(*nf, - 19.5, 0, "-20"); in TestRounding487()
969 NumberFormatTest::roundingTest(NumberFormat& nf, double x, int32_t maxFractionDigits, const char* e… in roundingTest() function in NumberFormatTest
/external/icu4c/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/chromium/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