3 * @author Santhosh Thottingal
4 * @copyright Copyright © 2012, Amir E. Aharoni
5 * based on LanguageSkTest.php
9 /** Tests for MediaWiki languages/classes/LanguageSl.php */
10 class LanguageSlTest
extends MediaWikiTestCase
{
14 $this->lang
= Language
::factory( 'sl' );
20 /** @dataProvider providerPlural */
21 function testPlural( $result, $value ) {
22 $forms = array( 'one', 'two', 'few', 'other', 'zero' );
23 $this->assertEquals( $result, $this->lang
->convertPlural( $value, $forms ) );
26 function providerPlural() {
35 array( 'other', 100 ),