3 * Based on LanguageMlTest
5 * @copyright Copyright © 2014, Joel Sahleen
9 /** Tests for MediaWiki languages/LanguageArq.php */
10 class LanguageArqTest
extends LanguageClassesTestCase
{
12 * @dataProvider provideNumber
13 * @covers Language::formatNum
15 public function testFormatNum( $result, $value ) {
16 $this->assertEquals( $result, $this->getLang()->formatNum( $value ) );
19 public static function provideNumber() {
21 array( '1.234.567', '1234567'),
22 array( '-12,89', -12.89 ),