Lines Matching refs:assertRuleValue
351 PluralRulesTest::assertRuleValue(const UnicodeString& rule, double expected) { in assertRuleValue() function in PluralRulesTest
370 assertRuleValue("n is 1", 1); in testGetUniqueKeywordValue()
371 assertRuleValue("n in 2..2", 2); in testGetUniqueKeywordValue()
372 assertRuleValue("n within 2..2", 2); in testGetUniqueKeywordValue()
373 assertRuleValue("n in 3..4", UPLRULES_NO_UNIQUE_VALUE); in testGetUniqueKeywordValue()
374 assertRuleValue("n within 3..4", UPLRULES_NO_UNIQUE_VALUE); in testGetUniqueKeywordValue()
375 assertRuleValue("n is 2 or n is 2", 2); in testGetUniqueKeywordValue()
376 assertRuleValue("n is 2 and n is 2", 2); in testGetUniqueKeywordValue()
377 assertRuleValue("n is 2 or n is 3", UPLRULES_NO_UNIQUE_VALUE); in testGetUniqueKeywordValue()
378 assertRuleValue("n is 2 and n is 3", UPLRULES_NO_UNIQUE_VALUE); in testGetUniqueKeywordValue()
379 assertRuleValue("n is 2 or n in 2..3", UPLRULES_NO_UNIQUE_VALUE); in testGetUniqueKeywordValue()
380 assertRuleValue("n is 2 and n in 2..3", 2); in testGetUniqueKeywordValue()