Searched refs:numberToBeFormat (Results 1 – 3 of 3) sorted by relevance
/external/icu/icu4c/source/test/intltest/ |
D | numfmtst.cpp | 3227 double numberToBeFormat = atof(DATA[i][2]); in TestMultiCurrencySign() local 3249 ((NumberFormat*) fmt)->format(numberToBeFormat, s); in TestMultiCurrencySign() 3276 parseRes.getDouble() != numberToBeFormat) || in TestMultiCurrencySign() 3278 parseRes.getLong() != numberToBeFormat)) { in TestMultiCurrencySign() 3416 double numberToBeFormat = atof(DATA[i][1]); in TestCurrencyIsoPluralFormat() local 3436 numFmt->format(numberToBeFormat, strBuf); in TestCurrencyIsoPluralFormat() 3458 parseResult.getDouble() != numberToBeFormat) || in TestCurrencyIsoPluralFormat() 3460 parseResult.getLong() != numberToBeFormat)) { in TestCurrencyIsoPluralFormat() 3464 … errln((UnicodeString)"expected: " + numberToBeFormat + "; actual: " +parseResult.getDouble()); in TestCurrencyIsoPluralFormat() 3466 … errln((UnicodeString)"expected: " + numberToBeFormat + "; actual: " +parseResult.getLong()); in TestCurrencyIsoPluralFormat() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | NumberFormatTest.java | 455 Double numberToBeFormat = new Double(DATA[i][2]); in TestMultiCurrencySign() local 465 String s = ((NumberFormat) fmt).format(numberToBeFormat); in TestMultiCurrencySign() 489 numberToBeFormat.doubleValue()) { in TestMultiCurrencySign() 660 Double numberToBeFormat = new Double(DATA[i][1]); in TestCurrencyIsoPluralFormat() local 665 String strBuf = numFmt.format(numberToBeFormat); in TestCurrencyIsoPluralFormat() 687 if (val.doubleValue() != numberToBeFormat.doubleValue()) { in TestCurrencyIsoPluralFormat() 688 …localeString + " failed roundtripping the number. val=" + val + "; expected: " + numberToBeFormat); in TestCurrencyIsoPluralFormat()
|
/external/icu/icu4c/source/test/cintltst/ |
D | cnumtst.c | 2428 double numberToBeFormat = atof(DATA[i][1]); in TestCurrencyIsoPluralFormat() local 2448 ulenRes = unum_formatDouble(unumFmt, numberToBeFormat, ubufResult, kUBufMax, NULL, &status); in TestCurrencyIsoPluralFormat() 2555 double numberToBeFormat = 123.567; in TestCurrencyUsage() local 2598 resultLen = unum_formatDouble(unumFmt, numberToBeFormat, result, LENGTH(result), in TestCurrencyUsage()
|