Skip to content
Permalink
Browse files

adding basic test

  • Loading branch information...
dereuromark committed Sep 19, 2012
1 parent 213d4ca commit 0be1943bcdae7808b02ac6b6796dbd971b7ecb37
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/Cake/Test/Case/Utility/CakeNumberTest.php
@@ -90,6 +90,10 @@ public function testFormat() {
public function testFormatDelta() {
$value = '100100100';
$result = $this->Number->formatDelta($value);
$expected = '+100,100,100.00';
$this->assertEquals($expected, $result);
$result = $this->Number->formatDelta($value, array('before' => '', 'after' => ''));
$expected = '+100,100,100.00';
$this->assertEquals($expected, $result);

0 comments on commit 0be1943

Please sign in to comment.
You can’t perform that action at this time.