Lines Matching refs:assertRuleValue
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()
389 assertRuleValue("n is 2 or n in 2..3", UPLRULES_NO_UNIQUE_VALUE); in testGetUniqueKeywordValue()
390 assertRuleValue("n is 2 and n in 2..3", 2); in testGetUniqueKeywordValue()