MediaWiki
REL1_22
|
00001 <?php 00009 class LanguageNlTest extends LanguageClassesTestCase { 00010 00015 public function testFormatNum() { 00016 $this->assertEquals( '1.234.567', $this->getLang()->formatNum( '1234567' ) ); 00017 $this->assertEquals( '12.345', $this->getLang()->formatNum( '12345' ) ); 00018 $this->assertEquals( '1', $this->getLang()->formatNum( '1' ) ); 00019 $this->assertEquals( '123', $this->getLang()->formatNum( '123' ) ); 00020 $this->assertEquals( '1.234', $this->getLang()->formatNum( '1234' ) ); 00021 $this->assertEquals( '12.345,56', $this->getLang()->formatNum( '12345.56' ) ); 00022 $this->assertEquals( ',1234556', $this->getLang()->formatNum( '.1234556' ) ); 00023 } 00024 }