15 $forms = [
'one',
'two',
'few',
'other' ];
16 $this->assertEquals( $result, $this->
getLang()->convertPlural(
$value, $forms ) );
24 $this->assertEquals( $result, $this->
getLang()->getPluralRuleType(
$value ) );
50 $forms = [
'one',
'other' ];
51 $this->assertEquals( $result, $this->
getLang()->convertPlural(
$value, $forms ) );
Helping class to run tests using a clean language instance.
static providePluralAllForms()
testPluralTwoForms( $result, $value)
providePluralTwoForms Language::convertPlural
testPluralAllForms( $result, $value)
providePluralAllForms Language::convertPlural
static providePluralTwoForms()
testGetPluralRuleType( $result, $value)
providePluralAllForms Language::getPluralRuleType