コード例 #1
0
ファイル: EdgeBaseTest.php プロジェクト: cmfcmf/graph
 public function testEdgeVertices()
 {
     $this->assertEquals(array($this->v1, $this->v2), $this->edge->getVertices()->getVector());
     $this->assertEquals(array(1, 2), $this->edge->getVertices()->getIds());
     $this->assertSame($this->graph, $this->edge->getGraph());
 }