diff options
-rw-r--r-- | tests/dataset_average_test.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/dataset_average_test.php b/tests/dataset_average_test.php index ee5fc4e..23f209b 100644 --- a/tests/dataset_average_test.php +++ b/tests/dataset_average_test.php @@ -334,7 +334,7 @@ class ezcGraphDataSetAverageTest extends ezcGraphTestCase foreach ( $averageDataSet as $key => $value ) { - $this->assertEquals( (string) ( $start += $stepSize ), $key, 'Wrong step.', .01 ); + $this->assertEquals( (string) ( round($start += $stepSize,12) ), $key, 'Wrong step.'); } } |