Home
last modified time | relevance | path

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

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DMeasureUnitTest.java1540 Measure USD_2 = new Measure(2.0, Currency.getInstance("USD")); in testCurrencies() local
1545 assertEquals("Wide currency", "2.00 US dollars", mf.format(USD_2)); in testCurrencies()
1549 assertEquals("short currency", "USD2.00", mf.format(USD_2)); in testCurrencies()
1553 assertEquals("narrow currency", "$2.00", mf.format(USD_2)); in testCurrencies()
1557 assertEquals("numeric currency", "$2.00", mf.format(USD_2)); in testCurrencies()
1562 assertEquals("Wide currency", "2.00\u7C73\u30C9\u30EB", mf.format(USD_2)); in testCurrencies()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DMeasureUnitTest.java1541 Measure USD_2 = new Measure(2.0, Currency.getInstance("USD")); in testCurrencies() local
1546 assertEquals("Wide currency", "2.00 US dollars", mf.format(USD_2)); in testCurrencies()
1550 assertEquals("short currency", "USD2.00", mf.format(USD_2)); in testCurrencies()
1554 assertEquals("narrow currency", "$2.00", mf.format(USD_2)); in testCurrencies()
1558 assertEquals("numeric currency", "$2.00", mf.format(USD_2)); in testCurrencies()
1563 assertEquals("Wide currency", "2.00\u7C73\u30C9\u30EB", mf.format(USD_2)); in testCurrencies()
/external/icu/icu4c/source/test/intltest/
Dmeasfmttest.cpp1717 CurrencyAmount USD_2(2.0, USD, status); in TestCurrencies() local
1729 verifyFormat("TestCurrenciesWide", fmt, &USD_2, 1, "2.00 US dollars"); in TestCurrencies()
1736 verifyFormat("TestCurrenciesShort", fmt, &USD_2, 1, "USD2.00"); in TestCurrencies()
1743 verifyFormat("TestCurrenciesNarrow", fmt, &USD_2, 1, "$2.00"); in TestCurrencies()
1750 verifyFormat("TestCurrenciesNumeric", fmt, &USD_2, 1, "$2.00"); in TestCurrencies()