Searched refs:pluralFmt (Results 1 – 1 of 1) sorted by relevance
/external/icu4c/test/intltest/ |
D | plurfmts.cpp | 247 PluralFormat pluralFmt = PluralFormat(*plRules, status); in pluralFormatUnitTest() local 253 pluralFmt.applyPattern(UNICODE_STRING_SIMPLE("odd{odd} other{even}"), status); in pluralFormatUnitTest() 254 pluralFmt.setLocale(Locale::getEnglish(), status); in pluralFormatUnitTest() 268 numberFormatTest(&pluralFmt, numFmt, 5, 5, NULL, NULL, FALSE, &message); in pluralFormatUnitTest() 269 pluralFmt.applyPattern(UNICODE_STRING_SIMPLE("odd__{odd} other{even}"), status); in pluralFormatUnitTest() 270 if (pluralFmt.format((int32_t)1, status) != UNICODE_STRING_SIMPLE("even")) { in pluralFormatUnitTest() 274 pluralFmt.applyPattern(UNICODE_STRING_SIMPLE("one{one} other{not one}"), status); in pluralFormatUnitTest() 282 plResult = pluralFmt.format(i, status); in pluralFormatUnitTest() 296 PluralFormat dupPFmt = PluralFormat(pluralFmt); in pluralFormatUnitTest() 297 if (pluralFmt != dupPFmt) { in pluralFormatUnitTest()
|