public function testVectorLength() { $vector = new ezcGraphVector(1, 2); $this->assertEquals(sqrt(5), $vector->length()); }