summaryrefslogtreecommitdiffstats
path: root/tests/color_test.php
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2006-11-02 08:31:52 +0000
committerKore Nordmann <github@kore-nordmann.de>2006-11-02 08:31:52 +0000
commit5532c0542f6a370378102f34ec9b10e8d9533915 (patch)
tree4e0986d3b525d8249f647fba745a4aa4f4ae10a5 /tests/color_test.php
parent19e09ba1d37982f4fc612b37ca459be0f1fc61ef (diff)
downloadzetacomponents-graph-5532c0542f6a370378102f34ec9b10e8d9533915.zip
zetacomponents-graph-5532c0542f6a370378102f34ec9b10e8d9533915.tar.gz
- Added missing calues to ezcGraphCoordinate constructor in tests
Diffstat (limited to 'tests/color_test.php')
-rw-r--r--tests/color_test.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/color_test.php b/tests/color_test.php
index 11a3f3c..8a586e3 100644
--- a/tests/color_test.php
+++ b/tests/color_test.php
@@ -151,7 +151,7 @@ class ezcGraphColorTest extends ezcTestCase
'Wrong default value for property startPoint in class ezcGraphRadialGradient'
);
- $color->startPoint = $coord = new ezcGraphCoordinate();
+ $color->startPoint = $coord = new ezcGraphCoordinate( 5, 23 );
$this->assertSame(
$coord,
$color->startPoint,
@@ -185,7 +185,7 @@ class ezcGraphColorTest extends ezcTestCase
'Wrong default value for property endPoint in class ezcGraphRadialGradient'
);
- $color->endPoint = $coord = new ezcGraphCoordinate();
+ $color->endPoint = $coord = new ezcGraphCoordinate( 5, 23 );
$this->assertSame(
$coord,
$color->endPoint,
@@ -299,7 +299,7 @@ class ezcGraphColorTest extends ezcTestCase
'Wrong default value for property center in class ezcGraphRadialGradient'
);
- $color->center = $coord = new ezcGraphCoordinate();
+ $color->center = $coord = new ezcGraphCoordinate( 5, 23 );
$this->assertSame(
$coord,
$color->center,
OpenPOWER on IntegriCloud