Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/intltest/
Dnumfmtst.cpp3452 double numberToBeFormat = atof(DATA[i][2]); in TestMultiCurrencySign() local
3474 ((NumberFormat*) fmt)->format(numberToBeFormat, s); in TestMultiCurrencySign()
3501 parseRes.getDouble() != numberToBeFormat) || in TestMultiCurrencySign()
3503 parseRes.getLong() != numberToBeFormat)) { in TestMultiCurrencySign()
3674 double numberToBeFormat = atof(DATA[i][1]); in TestCurrencyIsoPluralFormat() local
3676 logln(UnicodeString(u"Locale: ") + localeString + "; amount: " + numberToBeFormat); in TestCurrencyIsoPluralFormat()
3698 numFmt->format(numberToBeFormat, strBuf); in TestCurrencyIsoPluralFormat()
3722 parseResult.getDouble() != numberToBeFormat) || in TestCurrencyIsoPluralFormat()
3724 parseResult.getLong() != numberToBeFormat)) { in TestCurrencyIsoPluralFormat()
3728 … errln((UnicodeString)"expected: " + numberToBeFormat + "; actual: " +parseResult.getDouble()); in TestCurrencyIsoPluralFormat()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dcnumtst.c2513 double numberToBeFormat = atof(DATA[i][1]); in TestCurrencyIsoPluralFormat() local
2533 ulenRes = unum_formatDouble(unumFmt, numberToBeFormat, ubufResult, kUBufMax, NULL, &status); in TestCurrencyIsoPluralFormat()
2640 double numberToBeFormat = 123.567; in TestCurrencyUsage() local
2683 resultLen = unum_formatDouble(unumFmt, numberToBeFormat, result, UPRV_LENGTHOF(result), in TestCurrencyUsage()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatTest.java520 Double numberToBeFormat = new Double(DATA[i][2]); in TestMultiCurrencySign() local
530 String s = ((NumberFormat) fmt).format(numberToBeFormat); in TestMultiCurrencySign()
555 numberToBeFormat.doubleValue()) { in TestMultiCurrencySign()
776 Double numberToBeFormat = new Double(DATA[i][1]); in TestCurrencyIsoPluralFormat() local
781 String strBuf = numFmt.format(numberToBeFormat); in TestCurrencyIsoPluralFormat()
802 if (val.getNumber().doubleValue() != numberToBeFormat.doubleValue()) { in TestCurrencyIsoPluralFormat()
803 …localeString + " failed roundtripping the number. val=" + val + "; expected: " + numberToBeFormat); in TestCurrencyIsoPluralFormat()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DNumberFormatTest.java523 Double numberToBeFormat = new Double(DATA[i][2]); in TestMultiCurrencySign() local
533 String s = ((NumberFormat) fmt).format(numberToBeFormat); in TestMultiCurrencySign()
558 numberToBeFormat.doubleValue()) { in TestMultiCurrencySign()
779 Double numberToBeFormat = new Double(DATA[i][1]); in TestCurrencyIsoPluralFormat() local
784 String strBuf = numFmt.format(numberToBeFormat); in TestCurrencyIsoPluralFormat()
805 if (val.getNumber().doubleValue() != numberToBeFormat.doubleValue()) { in TestCurrencyIsoPluralFormat()
806 …localeString + " failed roundtripping the number. val=" + val + "; expected: " + numberToBeFormat); in TestCurrencyIsoPluralFormat()