Searched refs:USD_NEG_1 (Results 1 – 2 of 2) sorted by relevance
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | MeasureUnitTest.java | 860 Measure USD_NEG_1 = new Measure(-1.0, Currency.getInstance("USD")); in testCurrencies() local 862 assertEquals("Wide currency", "-1.00 US dollars", mf.format(USD_NEG_1)); in testCurrencies() 866 assertEquals("short currency", "-USD1.00", mf.format(USD_NEG_1)); in testCurrencies() 870 assertEquals("narrow currency", "-$1.00", mf.format(USD_NEG_1)); in testCurrencies() 874 assertEquals("numeric currency", "-$1.00", mf.format(USD_NEG_1)); in testCurrencies() 879 assertEquals("Wide currency", "-1.00\u7C73\u30C9\u30EB", mf.format(USD_NEG_1)); in testCurrencies()
|
/external/icu/icu4c/source/test/intltest/ |
D | measfmttest.cpp | 1079 CurrencyAmount USD_NEG_1(-1.0, USD, status); in TestCurrencies() local 1088 verifyFormat("TestCurrenciesWide", fmt, &USD_NEG_1, 1, "-1.00 US dollars"); in TestCurrencies() 1095 verifyFormat("TestCurrenciesShort", fmt, &USD_NEG_1, 1, "-USD1.00"); in TestCurrencies() 1102 verifyFormat("TestCurrenciesNarrow", fmt, &USD_NEG_1, 1, "-$1.00"); in TestCurrencies() 1109 verifyFormat("TestCurrenciesNumeric", fmt, &USD_NEG_1, 1, "-$1.00"); in TestCurrencies()
|