15 $forms = [
'one',
'few',
'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/Languagecs.php.
testPlural( $result, $value)
providePlural Language::convertPlural
testGetPluralRuleType( $result, $value)
providePlural Language::getPluralRuleType