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