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