Fhaculty\Graph\Tests\Edge\EdgeAttributesTest::setUp PHP 메소드

setUp() 공개 메소드

public setUp ( )
    public function setUp()
    {
        $graph = new Graph();
        $graph->createVertex(1);
        $graph->createVertex(2);
        // 1 -> 2
        $this->edge = $graph->getVertex(1)->createEdge($graph->getVertex(2));
    }