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