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 LanguageClassesTestCase
{
12 /** @dataProvider providerPlural */
13 function testPlural( $result, $value ) {
14 $forms = array( 'one', 'two', 'few', 'other', 'zero' );
15 $this->assertEquals( $result, $this->getLang()->convertPlural( $value, $forms ) );
18 function providerPlural() {
27 array( 'other', 100 ),