Home
last modified time | relevance | path

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

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DMeasureUnitTest.java1819 Measure USD_1 = new Measure(1.0, Currency.getInstance("USD")); in testCurrencies() local
1824 assertEquals("Wide currency", "1.00 US dollars", mf.format(USD_1)); in testCurrencies()
1828 assertEquals("short currency", "USD 1.00", mf.format(USD_1)); in testCurrencies()
1832 assertEquals("narrow currency", "$1.00", mf.format(USD_1)); in testCurrencies()
1836 assertEquals("numeric currency", "$1.00", mf.format(USD_1)); in testCurrencies()
1843 assertEquals("Wide currency", "1.00\u7C73\u30C9\u30EB", mf.format(USD_1)); in testCurrencies()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DMeasureUnitTest.java1822 Measure USD_1 = new Measure(1.0, Currency.getInstance("USD")); in testCurrencies() local
1827 assertEquals("Wide currency", "1.00 US dollars", mf.format(USD_1)); in testCurrencies()
1831 assertEquals("short currency", "USD 1.00", mf.format(USD_1)); in testCurrencies()
1835 assertEquals("narrow currency", "$1.00", mf.format(USD_1)); in testCurrencies()
1839 assertEquals("numeric currency", "$1.00", mf.format(USD_1)); in testCurrencies()
1846 assertEquals("Wide currency", "1.00\u7C73\u30C9\u30EB", mf.format(USD_1)); in testCurrencies()
/external/icu/icu4c/source/test/intltest/
Dmeasfmttest.cpp2015 CurrencyAmount USD_1(1.0, USD, status); in TestCurrencies() local
2016 assertEquals("Currency Code", USD, USD_1.getISOCurrency()); in TestCurrencies()
2028 verifyFormat("TestCurrenciesWide", fmt, &USD_1, 1, "1.00 US dollars"); in TestCurrencies()
2035 verifyFormat("TestCurrenciesShort", fmt, &USD_1, 1, "USD\\u00A01.00"); in TestCurrencies()
2042 verifyFormat("TestCurrenciesNarrow", fmt, &USD_1, 1, "$1.00"); in TestCurrencies()
2049 verifyFormat("TestCurrenciesNumeric", fmt, &USD_1, 1, "$1.00"); in TestCurrencies()