Stop doing $that = $this in Tests
[mediawiki.git] / tests / phpunit / languages / classes / LanguageArqTest.php
blob71e0583840b98a38a8dcf1f63bcce6f7447e3ef3
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 ),