3 * @author Santhosh Thottingal
4 * @copyright Copyright © 2012, Santhosh Thottingal
8 /** Tests for MediaWiki languages/classes/LanguageCy.php */
9 class LanguageCyTest
extends LanguageClassesTestCase
{
11 /** @dataProvider providerPlural */
12 function testPlural( $result, $value ) {
13 $forms = array( 'zero', 'one', 'two', 'few', 'many', 'other' );
14 $this->assertEquals( $result, $this->getLang()->convertPlural( $value, $forms ) );
17 function providerPlural() {
29 array( 'other', 223 ),
30 array( 'other', 200.00 ),