Searched refs:assertRuleValue (Results 1 – 4 of 4) sorted by relevance
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | PluralRulesTest.java | 676 private void assertRuleValue(String rule, double value) { 691 assertRuleValue("n within 2..2", 2); 692 assertRuleValue("n is 1", 1); 693 assertRuleValue("n in 2..2", 2); 694 assertRuleValue("n in 3..4", PluralRules.NO_UNIQUE_VALUE); 695 assertRuleValue("n within 3..4", PluralRules.NO_UNIQUE_VALUE); 696 assertRuleValue("n is 2 or n is 2", 2); 697 assertRuleValue("n is 2 and n is 2", 2); 698 assertRuleValue("n is 2 or n is 3", PluralRules.NO_UNIQUE_VALUE); 699 assertRuleValue("n is 2 and n is 3", PluralRules.NO_UNIQUE_VALUE); [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | PluralRulesTest.java | 673 private void assertRuleValue(String rule, double value) { 688 assertRuleValue("n within 2..2", 2); 689 assertRuleValue("n is 1", 1); 690 assertRuleValue("n in 2..2", 2); 691 assertRuleValue("n in 3..4", PluralRules.NO_UNIQUE_VALUE); 692 assertRuleValue("n within 3..4", PluralRules.NO_UNIQUE_VALUE); 693 assertRuleValue("n is 2 or n is 2", 2); 694 assertRuleValue("n is 2 and n is 2", 2); 695 assertRuleValue("n is 2 or n is 3", PluralRules.NO_UNIQUE_VALUE); 696 assertRuleValue("n is 2 and n is 3", PluralRules.NO_UNIQUE_VALUE); [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | plurults.cpp | 361 PluralRulesTest::assertRuleValue(const UnicodeString& rule, double expected) { in assertRuleValue() function in PluralRulesTest 380 assertRuleValue("n is 1", 1); in testGetUniqueKeywordValue() 381 assertRuleValue("n in 2..2", 2); in testGetUniqueKeywordValue() 382 assertRuleValue("n within 2..2", 2); in testGetUniqueKeywordValue() 383 assertRuleValue("n in 3..4", UPLRULES_NO_UNIQUE_VALUE); in testGetUniqueKeywordValue() 384 assertRuleValue("n within 3..4", UPLRULES_NO_UNIQUE_VALUE); in testGetUniqueKeywordValue() 385 assertRuleValue("n is 2 or n is 2", 2); in testGetUniqueKeywordValue() 386 assertRuleValue("n is 2 and n is 2", 2); in testGetUniqueKeywordValue() 387 assertRuleValue("n is 2 or n is 3", UPLRULES_NO_UNIQUE_VALUE); in testGetUniqueKeywordValue() 388 assertRuleValue("n is 2 and n is 3", UPLRULES_NO_UNIQUE_VALUE); in testGetUniqueKeywordValue() [all …]
|
D | plurults.h | 47 void assertRuleValue(const UnicodeString& rule, double expected);
|