Merge "(bug 37714) Use log type in target object when deleting logs of the same type"
[lhc/web/wiklou.git] / tests / phpunit / languages / LanguageNlTest.php
1 <?php
2 /**
3 * @author Santhosh Thottingal
4 * @copyright Copyright © 2011, Santhosh Thottingal
5 * @file
6 */
7
8 /** Tests for MediaWiki languages/LanguageNl.php */
9 class LanguageNlTest extends LanguageClassesTestCase {
10
11 function testFormatNum() {
12 $this->assertEquals( '1.234.567', $this->getLang()->formatNum( '1234567' ) );
13 $this->assertEquals( '12.345', $this->getLang()->formatNum( '12345' ) );
14 $this->assertEquals( '1', $this->getLang()->formatNum( '1' ) );
15 $this->assertEquals( '123', $this->getLang()->formatNum( '123' ) );
16 $this->assertEquals( '1.234', $this->getLang()->formatNum( '1234' ) );
17 $this->assertEquals( '12.345,56', $this->getLang()->formatNum( '12345.56' ) );
18 $this->assertEquals( ',1234556', $this->getLang()->formatNum( '.1234556' ) );
19 }
20 }