485a090d83999909b8d2121cc37da5ca78bfb2ff
3 * @author Santhosh Thottingal
4 * @copyright Copyright © 2012, Santhosh Thottingal
8 /** Tests for MediaWiki languages/LanguageLt.php */
9 class LanguageLtTest
extends LanguageClassesTestCase
{
11 /** @dataProvider provideOneFewOtherCases */
12 function testOneFewOtherPlural( $result, $value ) {
13 $forms = array( 'one', 'few', 'other' );
14 $this->assertEquals( $result, $this->getLang()->convertPlural( $value, $forms ) );
17 /** @dataProvider provideOneFewCases */
18 function testOneFewPlural( $result, $value ) {
19 $forms = array( 'one', 'few' );
20 $this->assertEquals( $result, $this->getLang()->convertPlural( $value, $forms ) );
23 function provideOneFewOtherCases() {
35 array( 'one', 40001 ),
39 function provideOneFewCases() {