Home
last modified time | relevance | path

Searched refs:USD_1 (Results 1 – 3 of 3) sorted by relevance

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DMeasureUnitTest.java2459 Measure USD_1 = new Measure(1.0, Currency.getInstance("USD")); in testCurrencies() local
2464 assertEquals("Wide currency", "1.00 US dollars", mf.format(USD_1)); in testCurrencies()
2468 assertEquals("short currency", "USD 1.00", mf.format(USD_1)); in testCurrencies()
2472 assertEquals("narrow currency", "$1.00", mf.format(USD_1)); in testCurrencies()
2476 assertEquals("numeric currency", "$1.00", mf.format(USD_1)); in testCurrencies()
2483 assertEquals("Wide currency", "1.00\u7C73\u30C9\u30EB", mf.format(USD_1)); in testCurrencies()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DMeasureUnitTest.java2456 Measure USD_1 = new Measure(1.0, Currency.getInstance("USD")); in testCurrencies() local
2461 assertEquals("Wide currency", "1.00 US dollars", mf.format(USD_1)); in testCurrencies()
2465 assertEquals("short currency", "USD 1.00", mf.format(USD_1)); in testCurrencies()
2469 assertEquals("narrow currency", "$1.00", mf.format(USD_1)); in testCurrencies()
2473 assertEquals("numeric currency", "$1.00", mf.format(USD_1)); in testCurrencies()
2480 assertEquals("Wide currency", "1.00\u7C73\u30C9\u30EB", mf.format(USD_1)); in testCurrencies()
/external/icu/icu4c/source/test/intltest/
Dmeasfmttest.cpp3213 CurrencyAmount USD_1(1.0, USD, status); in TestCurrencies() local
3214 assertEquals("Currency Code", USD, USD_1.getISOCurrency()); in TestCurrencies()
3226 verifyFormat("TestCurrenciesWide", fmt, &USD_1, 1, "1.00 US dollars"); in TestCurrencies()
3233 verifyFormat("TestCurrenciesShort", fmt, &USD_1, 1, "USD\\u00A01.00"); in TestCurrencies()
3240 verifyFormat("TestCurrenciesNarrow", fmt, &USD_1, 1, "$1.00"); in TestCurrencies()
3247 verifyFormat("TestCurrenciesNumeric", fmt, &USD_1, 1, "$1.00"); in TestCurrencies()