3
* @author Santhosh Thottingal
4
* @copyright Copyright © 2012, Santhosh Thottingal
8
/** Tests for MediaWiki languages/classes/LanguageCy.php */
9
class LanguageCyTest extends MediaWikiTestCase {
13
$this->lang = Language::factory( 'cy' );
19
/** @dataProvider providerPlural */
20
function testPlural( $result, $value ) {
21
$forms = array( 'zero', 'one', 'two', 'few', 'many', 'other' );
22
$this->assertEquals( $result, $this->lang->convertPlural( $value, $forms ) );
25
function providerPlural() {
37
array( 'other', 223 ),
38
array( 'other', 200.00 ),