Searched refs:pluralFmt (Results 1 – 1 of 1) sorted by relevance
/external/icu/icu4c/source/test/intltest/ |
D | plurfmts.cpp | 252 PluralFormat pluralFmt = PluralFormat(*plRules, status); in pluralFormatUnitTest() local 258 pluralFmt.applyPattern(UNICODE_STRING_SIMPLE("odd{odd} other{even}"), status); in pluralFormatUnitTest() 259 pluralFmt.setLocale(Locale::getEnglish(), status); in pluralFormatUnitTest() 273 numberFormatTest(&pluralFmt, numFmt, 5, 5, NULL, NULL, FALSE, &message); in pluralFormatUnitTest() 274 pluralFmt.applyPattern(UNICODE_STRING_SIMPLE("odd__{odd} other{even}"), status); in pluralFormatUnitTest() 275 if (pluralFmt.format((int32_t)1, status) != UNICODE_STRING_SIMPLE("even")) { in pluralFormatUnitTest() 279 pluralFmt.applyPattern(UNICODE_STRING_SIMPLE("one{one} other{not one}"), status); in pluralFormatUnitTest() 287 plResult = pluralFmt.format(i, status); in pluralFormatUnitTest() 301 PluralFormat dupPFmt = PluralFormat(pluralFmt); in pluralFormatUnitTest() 302 if (pluralFmt != dupPFmt) { in pluralFormatUnitTest()
|