HomeSort by relevance Sort by last modified time
    Searched refs:assertRuleValue (Results 1 - 4 of 4) sorted by null

  /external/icu/icu4c/source/test/intltest/
plurults.h 41 void assertRuleValue(const UnicodeString& rule, double expected);
plurults.cpp 349 PluralRulesTest::assertRuleValue(const UnicodeString& rule, double expected) {
368 assertRuleValue("n is 1", 1);
369 assertRuleValue("n in 2..2", 2);
370 assertRuleValue("n within 2..2", 2);
371 assertRuleValue("n in 3..4", UPLRULES_NO_UNIQUE_VALUE);
372 assertRuleValue("n within 3..4", UPLRULES_NO_UNIQUE_VALUE);
373 assertRuleValue("n is 2 or n is 2", 2);
374 assertRuleValue("n is 2 and n is 2", 2);
375 assertRuleValue("n is 2 or n is 3", UPLRULES_NO_UNIQUE_VALUE);
376 assertRuleValue("n is 2 and n is 3", UPLRULES_NO_UNIQUE_VALUE)
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
PluralRulesTest.java 574 private void assertRuleValue(String rule, double value) {
589 assertRuleValue("n within 2..2", 2);
590 assertRuleValue("n is 1", 1);
591 assertRuleValue("n in 2..2", 2);
592 assertRuleValue("n in 3..4", PluralRules.NO_UNIQUE_VALUE);
593 assertRuleValue("n within 3..4", PluralRules.NO_UNIQUE_VALUE);
594 assertRuleValue("n is 2 or n is 2", 2);
595 assertRuleValue("n is 2 and n is 2", 2);
596 assertRuleValue("n is 2 or n is 3", PluralRules.NO_UNIQUE_VALUE);
597 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/
PluralRulesTest.java 571 private void assertRuleValue(String rule, double value) {
586 assertRuleValue("n within 2..2", 2);
587 assertRuleValue("n is 1", 1);
588 assertRuleValue("n in 2..2", 2);
589 assertRuleValue("n in 3..4", PluralRules.NO_UNIQUE_VALUE);
590 assertRuleValue("n within 3..4", PluralRules.NO_UNIQUE_VALUE);
591 assertRuleValue("n is 2 or n is 2", 2);
592 assertRuleValue("n is 2 and n is 2", 2);
593 assertRuleValue("n is 2 or n is 3", PluralRules.NO_UNIQUE_VALUE);
594 assertRuleValue("n is 2 and n is 3", PluralRules.NO_UNIQUE_VALUE)
    [all...]

Completed in 262 milliseconds