MediaWiki  REL1_21
LanguageNlTest.php
Go to the documentation of this file.
00001 <?php
00009 class LanguageNlTest extends LanguageClassesTestCase {
00010 
00011         function testFormatNum() {
00012                 $this->assertEquals( '1.234.567', $this->getLang()->formatNum( '1234567' ) );
00013                 $this->assertEquals( '12.345', $this->getLang()->formatNum( '12345' ) );
00014                 $this->assertEquals( '1', $this->getLang()->formatNum( '1' ) );
00015                 $this->assertEquals( '123', $this->getLang()->formatNum( '123' ) );
00016                 $this->assertEquals( '1.234', $this->getLang()->formatNum( '1234' ) );
00017                 $this->assertEquals( '12.345,56', $this->getLang()->formatNum( '12345.56' ) );
00018                 $this->assertEquals( ',1234556', $this->getLang()->formatNum( '.1234556' ) );
00019         }
00020 }