Remove $wgDebugFunctionEntry, unused
[mediawiki.git] / tests / phpunit / languages / LanguageArqTest.php
blob3fa56d7819aede7de7383c0113a3793f7177c223
1 <?php
2 /**
3 * Based on LanguageMlTest
4 * @author Joel Sahleen
5 * @copyright Copyright © 2014, Joel Sahleen
6 * @file
7 */
9 /** Tests for MediaWiki languages/LanguageArq.php */
10 class LanguageArqTest extends LanguageClassesTestCase {
11 /**
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() {
20 return array(
21 array( '1.234.567', '1234567'),
22 array( '-12,89', -12.89 ),