3 * @author Amir E. Aharoni
4 * @copyright Copyright © 2012, Amir E. Aharoni
8 /** Tests for MediaWiki languages/classes/LanguageSma.php */
9 class LanguageSmaTest
extends LanguageClassesTestCase
{
11 /** @dataProvider providerPluralThreeForms */
12 function testPluralThreeForms( $result, $value ) {
13 $forms = array( 'one', 'two', 'other' );
14 $this->assertEquals( $result, $this->getLang()->convertPlural( $value, $forms ) );
17 function providerPluralThreeForms() {
26 /** @dataProvider providerPlural */
27 function testPlural( $result, $value ) {
28 $forms = array( 'one', 'other' );
29 $this->assertEquals( $result, $this->getLang()->convertPlural( $value, $forms ) );
32 function providerPlural() {