Skip to content
This repository
Browse code

adding basic test

  • Loading branch information...
commit 0be1943bcdae7808b02ac6b6796dbd971b7ecb37 1 parent 213d4ca
Mark authored September 20, 2012
4  lib/Cake/Test/Case/Utility/CakeNumberTest.php
@@ -90,6 +90,10 @@ public function testFormat() {
90 90
 	public function testFormatDelta() {
91 91
 		$value = '100100100';
92 92
 
  93
+		$result = $this->Number->formatDelta($value);
  94
+		$expected = '+100,100,100.00';
  95
+		$this->assertEquals($expected, $result);
  96
+
93 97
 		$result = $this->Number->formatDelta($value, array('before' => '', 'after' => ''));
94 98
 		$expected = '+100,100,100.00';
95 99
 		$this->assertEquals($expected, $result);

0 notes on commit 0be1943

Please sign in to comment.
Something went wrong with that request. Please try again.