3 * @author Santhosh Thottingal
4 * @copyright Copyright © 2012, Santhosh Thottingal
8 /** Tests for MediaWiki languages/LanguageLt.php */
9 class LanguageLtTest
extends MediaWikiTestCase
{
13 $this->lang
= Language
::factory( 'Lt' );
19 /** @dataProvider provideOneFewOtherCases */
20 function testOneFewOtherPlural( $result, $value ) {
21 $forms = array( 'one', 'few', 'other' );
22 $this->assertEquals( $result, $this->lang
->convertPlural( $value, $forms ) );
25 /** @dataProvider provideOneFewCases */
26 function testOneFewPlural( $result, $value ) {
27 $forms = array( 'one', 'few' );
28 $this->assertEquals( $result, $this->lang
->convertPlural( $value, $forms ) );
31 function provideOneFewOtherCases() {
43 array( 'one', 40001 ),
47 function provideOneFewCases() {