Home
last modified time | relevance | path

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

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DMeasureUnitTest.java858 Measure USD_1 = new Measure(1.0, Currency.getInstance("USD")); in testCurrencies() local
863 assertEquals("Wide currency", "1.00 US dollars", mf.format(USD_1)); in testCurrencies()
867 assertEquals("short currency", "USD1.00", mf.format(USD_1)); in testCurrencies()
871 assertEquals("narrow currency", "$1.00", mf.format(USD_1)); in testCurrencies()
875 assertEquals("numeric currency", "$1.00", mf.format(USD_1)); in testCurrencies()
880 assertEquals("Wide currency", "1.00\u7C73\u30C9\u30EB", mf.format(USD_1)); in testCurrencies()
/external/icu/icu4c/source/test/intltest/
Dmeasfmttest.cpp1077 CurrencyAmount USD_1(1.0, USD, status); in TestCurrencies() local
1089 verifyFormat("TestCurrenciesWide", fmt, &USD_1, 1, "1.00 US dollars"); in TestCurrencies()
1096 verifyFormat("TestCurrenciesShort", fmt, &USD_1, 1, "USD1.00"); in TestCurrencies()
1103 verifyFormat("TestCurrenciesNarrow", fmt, &USD_1, 1, "$1.00"); in TestCurrencies()
1110 verifyFormat("TestCurrenciesNumeric", fmt, &USD_1, 1, "$1.00"); in TestCurrencies()