summaryrefslogtreecommitdiffstats
path: root/tests/renderer_2d_test.php
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2006-10-23 17:54:23 +0000
committerKore Nordmann <github@kore-nordmann.de>2006-10-23 17:54:23 +0000
commitfae953847fad0282cfe50b75bd7a379d1754ce70 (patch)
treed3ab904c10e1e8be3b221ca874a5371ffeee22ee /tests/renderer_2d_test.php
parent70c7c9c23a6d9a2fa5d0bce059bee8469f6bf2ef (diff)
downloadzetacomponents-graph-fae953847fad0282cfe50b75bd7a379d1754ce70.zip
zetacomponents-graph-fae953847fad0282cfe50b75bd7a379d1754ce70.tar.gz
- Fixed sorting order of 2d bar chart elements.
Diffstat (limited to 'tests/renderer_2d_test.php')
-rw-r--r--tests/renderer_2d_test.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/renderer_2d_test.php b/tests/renderer_2d_test.php
index 8b5bfad..8feedeb 100644
--- a/tests/renderer_2d_test.php
+++ b/tests/renderer_2d_test.php
@@ -370,10 +370,10 @@ class ezcGraphRenderer2dTest extends ezcTestCase
->method( 'drawPolygon' )
->with(
$this->equalTo( array(
- new ezcGraphCoordinate( 202.5, 0. ),
- new ezcGraphCoordinate( 202.5, 40. ),
- new ezcGraphCoordinate( 242.5, 40. ),
- new ezcGraphCoordinate( 242.5, 0. ),
+ new ezcGraphCoordinate( 157.5, 0. ),
+ new ezcGraphCoordinate( 157.5, 40. ),
+ new ezcGraphCoordinate( 197.5, 40. ),
+ new ezcGraphCoordinate( 197.5, 0. ),
), 1. ),
$this->equalTo( ezcGraphColor::fromHex( '#FF0000' ) ),
$this->equalTo( 1 )
OpenPOWER on IntegriCloud