3 * @author Santhosh Thottingal
4 * @copyright Copyright © 2012, Amir E. Aharoni
11 class LanguageSkTest
extends LanguageClassesTestCase
{
13 * @dataProvider providePlural
14 * @covers \Language::convertPlural
16 public function testPlural( $result, $value ) {
17 $forms = [ 'one', 'few', 'other' ];
18 $this->assertEquals( $result, $this->getLang()->convertPlural( $value, $forms ) );
22 * @dataProvider providePlural
23 * @covers \Language::getPluralRuleType
25 public function testGetPluralRuleType( $result, $value ) {
26 $this->assertEquals( $result, $this->getLang()->getPluralRuleType( $value ) );
29 public static function providePlural() {