summaryrefslogtreecommitdiffstats
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
parent19e09ba1d37982f4fc612b37ca459be0f1fc61ef (diff)
downloadzetacomponents-graph-5532c0542f6a370378102f34ec9b10e8d9533915.zip
zetacomponents-graph-5532c0542f6a370378102f34ec9b10e8d9533915.tar.gz
- Added missing calues to ezcGraphCoordinate constructor in tests
-rw-r--r--tests/color_test.php6
-rw-r--r--tests/struct_test.php2
2 files changed, 4 insertions, 4 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,
diff --git a/tests/struct_test.php b/tests/struct_test.php
index 70333be..739eb9a 100644
--- a/tests/struct_test.php
+++ b/tests/struct_test.php
@@ -175,7 +175,7 @@ class ezcGraphStructTest extends ezcTestCase
public function testCoordinateSetState()
{
- $context = new ezcGraphCoordinate();
+ $context = new ezcGraphCoordinate( 0, 0 );
$context->__set_state(
array(
OpenPOWER on IntegriCloud