public function testAddLine() { $s = new Svg('graph.svg', '640px', '480px'); $s->drawLine(10, 10, 100, 100); $this->assertEquals(640, $s->getWidth()); }