Added release notes for 'ContentHandler::runLegacyHooks' removal
[mediawiki.git] / tests / phpunit / languages / classes / LanguageArqTest.php
blobe6692d17331eaa35e5be137253badb76a81ba815
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 [
21 [ '1.234.567', '1234567' ],
22 [ '-12,89', -12.89 ],