Home
last modified time | relevance | path

Searched refs:numberToBeFormat (Results 1 – 4 of 4) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Dnumfmtst.cpp3676 double numberToBeFormat = atof(DATA[i][2]); in TestMultiCurrencySign() local
3698 ((NumberFormat*) fmt)->format(numberToBeFormat, s); in TestMultiCurrencySign()
3725 parseRes.getDouble() != numberToBeFormat) || in TestMultiCurrencySign()
3727 parseRes.getLong() != numberToBeFormat)) { in TestMultiCurrencySign()
3863 double numberToBeFormat = atof(DATA[i][1]); in TestCurrencyIsoPluralFormat() local
3883 numFmt->format(numberToBeFormat, strBuf); in TestCurrencyIsoPluralFormat()
3905 parseResult.getDouble() != numberToBeFormat) || in TestCurrencyIsoPluralFormat()
3907 parseResult.getLong() != numberToBeFormat)) { in TestCurrencyIsoPluralFormat()
3911 … errln((UnicodeString)"expected: " + numberToBeFormat + "; actual: " +parseResult.getDouble()); in TestCurrencyIsoPluralFormat()
3913 … errln((UnicodeString)"expected: " + numberToBeFormat + "; actual: " +parseResult.getLong()); in TestCurrencyIsoPluralFormat()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatTest.java871 Double numberToBeFormat = new Double(DATA[i][2]); in TestMultiCurrencySign() local
881 String s = ((NumberFormat) fmt).format(numberToBeFormat); in TestMultiCurrencySign()
905 numberToBeFormat.doubleValue()) { in TestMultiCurrencySign()
1080 Double numberToBeFormat = new Double(DATA[i][1]); in TestCurrencyIsoPluralFormat() local
1085 String strBuf = numFmt.format(numberToBeFormat); in TestCurrencyIsoPluralFormat()
1107 if (val.doubleValue() != numberToBeFormat.doubleValue()) { in TestCurrencyIsoPluralFormat()
1108 …localeString + " failed roundtripping the number. val=" + val + "; expected: " + numberToBeFormat); in TestCurrencyIsoPluralFormat()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DNumberFormatTest.java872 Double numberToBeFormat = new Double(DATA[i][2]); in TestMultiCurrencySign() local
882 String s = ((NumberFormat) fmt).format(numberToBeFormat); in TestMultiCurrencySign()
906 numberToBeFormat.doubleValue()) { in TestMultiCurrencySign()
1081 Double numberToBeFormat = new Double(DATA[i][1]); in TestCurrencyIsoPluralFormat() local
1086 String strBuf = numFmt.format(numberToBeFormat); in TestCurrencyIsoPluralFormat()
1108 if (val.doubleValue() != numberToBeFormat.doubleValue()) { in TestCurrencyIsoPluralFormat()
1109 …localeString + " failed roundtripping the number. val=" + val + "; expected: " + numberToBeFormat); in TestCurrencyIsoPluralFormat()
/external/icu/icu4c/source/test/cintltst/
Dcnumtst.c2449 double numberToBeFormat = atof(DATA[i][1]); in TestCurrencyIsoPluralFormat() local
2469 ulenRes = unum_formatDouble(unumFmt, numberToBeFormat, ubufResult, kUBufMax, NULL, &status); in TestCurrencyIsoPluralFormat()
2576 double numberToBeFormat = 123.567; in TestCurrencyUsage() local
2619 resultLen = unum_formatDouble(unumFmt, numberToBeFormat, result, UPRV_LENGTHOF(result), in TestCurrencyUsage()