Searched refs:numberToBeFormat (Results 1 - 4 of 4) sorted by relevance
/third_party/icu/icu4c/source/test/intltest/ |
H A D | numfmtst.cpp | 3643 double numberToBeFormat = atof(DATA[i][2]); in TestMultiCurrencySign() local 3665 ((NumberFormat*) fmt)->format(numberToBeFormat, s); in TestMultiCurrencySign() 3692 parseRes.getDouble() != numberToBeFormat) || in TestMultiCurrencySign() 3694 parseRes.getLong() != numberToBeFormat)) { in TestMultiCurrencySign() 3865 double numberToBeFormat = atof(DATA[i][1]); in TestCurrencyIsoPluralFormat() local 3867 logln(UnicodeString(u"Locale: ") + localeString + "; amount: " + numberToBeFormat); in TestCurrencyIsoPluralFormat() local 3889 numFmt->format(numberToBeFormat, strBuf); in TestCurrencyIsoPluralFormat() 3913 parseResult.getDouble() != numberToBeFormat) || in TestCurrencyIsoPluralFormat() 3915 parseResult.getLong() != numberToBeFormat)) { in TestCurrencyIsoPluralFormat() 3919 errln((UnicodeString)"expected: " + numberToBeFormat in TestCurrencyIsoPluralFormat() 3980 double numberToBeFormat = atof(DATA[i][1]); TestCurrencyParsing() local [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
H A D | NumberFormatTest.java | 544 Double numberToBeFormat = new Double(DATA[i][2]); in TestMultiCurrencySign() 554 String s = ((NumberFormat) fmt).format(numberToBeFormat); in TestMultiCurrencySign() 579 numberToBeFormat.doubleValue()) { in TestMultiCurrencySign() 800 Double numberToBeFormat = new Double(DATA[i][1]); in TestCurrencyIsoPluralFormat() 805 String strBuf = numFmt.format(numberToBeFormat); in TestCurrencyIsoPluralFormat() 826 if (val.getNumber().doubleValue() != numberToBeFormat.doubleValue()) { in TestCurrencyIsoPluralFormat() 827 errln("FAIL: getCurrencyFormat of locale " + localeString + " failed roundtripping the number. val=" + val + "; expected: " + numberToBeFormat); in TestCurrencyIsoPluralFormat()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
H A D | NumberFormatTest.java | 541 Double numberToBeFormat = new Double(DATA[i][2]); in TestMultiCurrencySign() 551 String s = ((NumberFormat) fmt).format(numberToBeFormat); in TestMultiCurrencySign() 576 numberToBeFormat.doubleValue()) { in TestMultiCurrencySign() 797 Double numberToBeFormat = new Double(DATA[i][1]); in TestCurrencyIsoPluralFormat() 802 String strBuf = numFmt.format(numberToBeFormat); in TestCurrencyIsoPluralFormat() 823 if (val.getNumber().doubleValue() != numberToBeFormat.doubleValue()) { in TestCurrencyIsoPluralFormat() 824 errln("FAIL: getCurrencyFormat of locale " + localeString + " failed roundtripping the number. val=" + val + "; expected: " + numberToBeFormat); in TestCurrencyIsoPluralFormat()
|
/third_party/icu/icu4c/source/test/cintltst/ |
H A D | cnumtst.c | 2613 double numberToBeFormat = atof(DATA[i][1]); in TestCurrencyIsoPluralFormat() local 2633 ulenRes = unum_formatDouble(unumFmt, numberToBeFormat, ubufResult, kUBufMax, NULL, &status); in TestCurrencyIsoPluralFormat() 2740 double numberToBeFormat = 123.567; in TestCurrencyUsage() local 2783 resultLen = unum_formatDouble(unumFmt, numberToBeFormat, result, UPRV_LENGTHOF(result), in TestCurrencyUsage()
|
Completed in 31 milliseconds