Searched refs:assertRuleValue (Results 1 – 4 of 4) sorted by relevance
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
D | PluralRulesTest.java | 642 private void assertRuleValue(String rule, double value) { 657 assertRuleValue("n within 2..2", 2); 658 assertRuleValue("n is 1", 1); 659 assertRuleValue("n in 2..2", 2); 660 assertRuleValue("n in 3..4", PluralRules.NO_UNIQUE_VALUE); 661 assertRuleValue("n within 3..4", PluralRules.NO_UNIQUE_VALUE); 662 assertRuleValue("n is 2 or n is 2", 2); 663 assertRuleValue("n is 2 and n is 2", 2); 664 assertRuleValue("n is 2 or n is 3", PluralRules.NO_UNIQUE_VALUE); 665 assertRuleValue("n is 2 and n is 3", PluralRules.NO_UNIQUE_VALUE); [all …]
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | PluralRulesTest.java | 704 private void assertRuleValue(String rule, double value) { 719 assertRuleValue("n within 2..2", 2); 720 assertRuleValue("n is 1", 1); 721 assertRuleValue("n in 2..2", 2); 722 assertRuleValue("n in 3..4", PluralRules.NO_UNIQUE_VALUE); 723 assertRuleValue("n within 3..4", PluralRules.NO_UNIQUE_VALUE); 724 assertRuleValue("n is 2 or n is 2", 2); 725 assertRuleValue("n is 2 and n is 2", 2); 726 assertRuleValue("n is 2 or n is 3", PluralRules.NO_UNIQUE_VALUE); 727 assertRuleValue("n is 2 and n is 3", PluralRules.NO_UNIQUE_VALUE); [all …]
|
/third_party/icu/icu4c/source/test/intltest/ |
D | plurults.cpp | 363 PluralRulesTest::assertRuleValue(const UnicodeString& rule, double expected) { in assertRuleValue() function in PluralRulesTest 382 assertRuleValue("n is 1", 1); in testGetUniqueKeywordValue() 383 assertRuleValue("n in 2..2", 2); in testGetUniqueKeywordValue() 384 assertRuleValue("n within 2..2", 2); in testGetUniqueKeywordValue() 385 assertRuleValue("n in 3..4", UPLRULES_NO_UNIQUE_VALUE); in testGetUniqueKeywordValue() 386 assertRuleValue("n within 3..4", UPLRULES_NO_UNIQUE_VALUE); in testGetUniqueKeywordValue() 387 assertRuleValue("n is 2 or n is 2", 2); in testGetUniqueKeywordValue() 388 assertRuleValue("n is 2 and n is 2", 2); in testGetUniqueKeywordValue() 389 assertRuleValue("n is 2 or n is 3", UPLRULES_NO_UNIQUE_VALUE); in testGetUniqueKeywordValue() 390 assertRuleValue("n is 2 and n is 3", UPLRULES_NO_UNIQUE_VALUE); in testGetUniqueKeywordValue() [all …]
|
D | plurults.h | 49 void assertRuleValue(const UnicodeString& rule, double expected);
|