assertEquals( $boundings->x0, 0 ); $this->assertEquals( $boundings->y0, 1 ); $this->assertEquals( $boundings->x1, 10 ); $this->assertEquals( $boundings->y1, 11 ); } public function testPseudoProperties() { $boundings = new ezcGraphBoundings( 0, 1, 10, 21 ); $this->assertEquals( $boundings->width, 10 ); $this->assertEquals( $boundings->height, 20 ); } public function testCreateReverseBoundings() { $boundings = new ezcGraphBoundings( 10, 11, 0, 1 ); $this->assertEquals( $boundings->x0, 0 ); $this->assertEquals( $boundings->y0, 1 ); $this->assertEquals( $boundings->x1, 10 ); $this->assertEquals( $boundings->y1, 11 ); } } ?>