Home
last modified time | relevance | path

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

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DMeasureUnitTest.java859 Measure USD_2 = new Measure(2.0, Currency.getInstance("USD")); in testCurrencies() local
864 assertEquals("Wide currency", "2.00 US dollars", mf.format(USD_2)); in testCurrencies()
868 assertEquals("short currency", "USD2.00", mf.format(USD_2)); in testCurrencies()
872 assertEquals("narrow currency", "$2.00", mf.format(USD_2)); in testCurrencies()
876 assertEquals("numeric currency", "$2.00", mf.format(USD_2)); in testCurrencies()
881 assertEquals("Wide currency", "2.00\u7C73\u30C9\u30EB", mf.format(USD_2)); in testCurrencies()
/external/icu/icu4c/source/test/intltest/
Dmeasfmttest.cpp1078 CurrencyAmount USD_2(2.0, USD, status); in TestCurrencies() local
1090 verifyFormat("TestCurrenciesWide", fmt, &USD_2, 1, "2.00 US dollars"); in TestCurrencies()
1097 verifyFormat("TestCurrenciesShort", fmt, &USD_2, 1, "USD2.00"); in TestCurrencies()
1104 verifyFormat("TestCurrenciesNarrow", fmt, &USD_2, 1, "$2.00"); in TestCurrencies()
1111 verifyFormat("TestCurrenciesNumeric", fmt, &USD_2, 1, "$2.00"); in TestCurrencies()