15 $forms = [
'one',
'two',
'few',
'other' ];
16 $this->assertEquals( $result, $this->
getLang()->convertPlural(
$value, $forms ) );
37 $forms = [
'one',
'two',
'few',
'other',
'11=Form11',
'12=Form12' ];
38 $this->assertEquals( $result, $this->
getLang()->convertPlural(
$value, $forms ) );
Helping class to run tests using a clean language instance.
Tests for MediaWiki languages/classes/LanguageGd.php.
static providerPluralExplicit()
testPlural( $result, $value)
providerPlural Language::convertPlural
testExplicitPlural( $result, $value)
providerPluralExplicit Language::convertPlural