Home
last modified time | relevance | path

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

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DMeasureUnitTest.java1821 Measure USD_NEG_1 = new Measure(-1.0, Currency.getInstance("USD")); in testCurrencies() local
1823 assertEquals("Wide currency", "-1.00 US dollars", mf.format(USD_NEG_1)); in testCurrencies()
1827 assertEquals("short currency", "-USD 1.00", mf.format(USD_NEG_1)); in testCurrencies()
1831 assertEquals("narrow currency", "-$1.00", mf.format(USD_NEG_1)); in testCurrencies()
1835 assertEquals("numeric currency", "-$1.00", mf.format(USD_NEG_1)); in testCurrencies()
1842 assertEquals("Wide currency", "-1.00\u7C73\u30C9\u30EB", mf.format(USD_NEG_1)); in testCurrencies()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DMeasureUnitTest.java1824 Measure USD_NEG_1 = new Measure(-1.0, Currency.getInstance("USD")); in testCurrencies() local
1826 assertEquals("Wide currency", "-1.00 US dollars", mf.format(USD_NEG_1)); in testCurrencies()
1830 assertEquals("short currency", "-USD 1.00", mf.format(USD_NEG_1)); in testCurrencies()
1834 assertEquals("narrow currency", "-$1.00", mf.format(USD_NEG_1)); in testCurrencies()
1838 assertEquals("numeric currency", "-$1.00", mf.format(USD_NEG_1)); in testCurrencies()
1845 assertEquals("Wide currency", "-1.00\u7C73\u30C9\u30EB", mf.format(USD_NEG_1)); in testCurrencies()
/external/icu/icu4c/source/test/intltest/
Dmeasfmttest.cpp2018 CurrencyAmount USD_NEG_1(-1.0, USD, status); in TestCurrencies() local
2027 verifyFormat("TestCurrenciesWide", fmt, &USD_NEG_1, 1, "-1.00 US dollars"); in TestCurrencies()
2034 verifyFormat("TestCurrenciesShort", fmt, &USD_NEG_1, 1, "-USD\\u00A01.00"); in TestCurrencies()
2041 verifyFormat("TestCurrenciesNarrow", fmt, &USD_NEG_1, 1, "-$1.00"); in TestCurrencies()
2048 verifyFormat("TestCurrenciesNumeric", fmt, &USD_NEG_1, 1, "-$1.00"); in TestCurrencies()