3 * @author Santhosh Thottingal
4 * @copyright Copyright © 2012, Santhosh Thottingal
8 /** Tests for MediaWiki languages/classes/LanguageMo.php */
9 class LanguageMoTest
extends LanguageClassesTestCase
{
11 /** @dataProvider providerPlural */
12 function testPlural( $result, $value ) {
13 $forms = array( 'one', 'few', 'other' );
14 $this->assertEquals( $result, $this->getLang()->convertPlural( $value, $forms ) );
17 function providerPlural() {
25 array( 'other', 100 ),
28 array( 'other', 120 ),
29 array( 'other', 200 ),
32 array( 'other', 220 ),