19 $forms = [
'one',
'few',
'other' ];
20 $this->assertEquals( $result, $this->
getLang()->convertPlural(
$value, $forms ) );
28 $this->assertEquals( $result, $this->
getLang()->getPluralRuleType(
$value ) );
Tests for Croatian (hrvatski)
testPlural( $result, $value)
providePlural Language::convertPlural
testGetPluralRuleType( $result, $value)
providePlural Language::getPluralRuleType
Helping class to run tests using a clean language instance.