summaryrefslogtreecommitdiffstats
path: root/tests/radar_axis_test.php
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2008-01-21 11:16:12 +0000
committerKore Nordmann <github@kore-nordmann.de>2008-01-21 11:16:12 +0000
commit47923ec162b928ed64d714a7659173a02881b84f (patch)
treef7685e0447cbea7b9189a47eb49ea2cefd1974ba /tests/radar_axis_test.php
parenta391fab6faf6c7040bf789de3868c3082ff826f6 (diff)
downloadzetacomponents-graph-47923ec162b928ed64d714a7659173a02881b84f.zip
zetacomponents-graph-47923ec162b928ed64d714a7659173a02881b84f.tar.gz
- Resolved task #12406: Use data container instead of mt_rand in tests.
# No visual differences in test files, but slight value differences
Diffstat (limited to 'tests/radar_axis_test.php')
-rw-r--r--tests/radar_axis_test.php13
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/radar_axis_test.php b/tests/radar_axis_test.php
index a872638..8feba75 100644
--- a/tests/radar_axis_test.php
+++ b/tests/radar_axis_test.php
@@ -43,19 +43,6 @@ class ezcGraphRadarChartAxisTest extends ezcGraphTestCase
}
}
- protected function getRandomData( $count, $min = 0, $max = 1000, $randomize = 23 )
- {
- // Make data reproducible
- mt_srand( $randomize );
-
- for ( $i = 0; $i < $count; ++$i )
- {
- $data[] = mt_rand( $min, $max );
- }
-
- return $data;
- }
-
public function testCenteredMultipleDirections()
{
$filename = $this->tempDir . __FUNCTION__ . '.svg';
OpenPOWER on IntegriCloud