X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Flibs%2FRunningStatTest.php;h=35a8e4ffacb26c13b9532713658ffb27536b5eb2;hb=8882634112e45466cc6fcebb1be3d788b2afbf78;hp=edfaf162c76d41eea8b4c46bb82cfdf2a16a5a84;hpb=1622cef1e2d8583b0fe98aa10c425a1594e7cc0f;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/libs/RunningStatTest.php b/tests/phpunit/includes/libs/RunningStatTest.php index edfaf162c7..35a8e4ffac 100644 --- a/tests/phpunit/includes/libs/RunningStatTest.php +++ b/tests/phpunit/includes/libs/RunningStatTest.php @@ -23,7 +23,7 @@ class RunningStatTest extends PHPUnit_Framework_TestCase { */ public function testRunningStatAccuracy() { $rstat = new RunningStat(); - foreach( $this->points as $point ) { + foreach ( $this->points as $point ) { $rstat->push( $point ); } @@ -51,7 +51,7 @@ class RunningStatTest extends PHPUnit_Framework_TestCase { public function testRunningStatMerge() { $expected = new RunningStat(); - foreach( $this->points as $point ) { + foreach ( $this->points as $point ) { $expected->push( $point ); } @@ -60,13 +60,13 @@ class RunningStatTest extends PHPUnit_Framework_TestCase { // Accumulate the first half into one RunningStat object $first = new RunningStat(); - foreach( $sets[0] as $point ) { + foreach ( $sets[0] as $point ) { $first->push( $point ); } // Accumulate the second half into another RunningStat object $second = new RunningStat(); - foreach( $sets[1] as $point ) { + foreach ( $sets[1] as $point ) { $second->push( $point ); }