15 $forms = [
'one',
'other' ];
16 $this->assertEquals( $result, $this->
getLang()->convertPlural(
$value, $forms ) );
24 $this->assertEquals( $result, $this->
getLang()->getPluralRuleType(
$value ) );
Helping class to run tests using a clean language instance.
Tests for MediaWiki languages/classes/LanguageNso.php.
testGetPluralRuleType( $result, $value)
providePlural Language::getPluralRuleType
testPlural( $result, $value)
providePlural Language::convertPlural