Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/intltest/
Dplurfmts.cpp250 PluralFormat pluralFmt = PluralFormat(*plRules, status); in pluralFormatUnitTest() local
255 pluralFmt.applyPattern(UNICODE_STRING_SIMPLE("odd{odd} other{even}"), status); in pluralFormatUnitTest()
256 pluralFmt.setLocale(Locale::getEnglish(), status); in pluralFormatUnitTest()
269 numberFormatTest(&pluralFmt, numFmt.getAlias(), 5, 5, NULL, NULL, FALSE, &message); in pluralFormatUnitTest()
270 pluralFmt.applyPattern(UNICODE_STRING_SIMPLE("odd__{odd} other{even}"), status); in pluralFormatUnitTest()
271 if (pluralFmt.format((int32_t)1, status) != UNICODE_STRING_SIMPLE("even")) { in pluralFormatUnitTest()
275 pluralFmt.applyPattern(UNICODE_STRING_SIMPLE("one{one} other{not one}"), status); in pluralFormatUnitTest()
283 plResult = pluralFmt.format(i, status); in pluralFormatUnitTest()
297 PluralFormat dupPFmt = PluralFormat(pluralFmt); in pluralFormatUnitTest()
298 if (pluralFmt != dupPFmt) { in pluralFormatUnitTest()