/** * @dataProvider get_vertex_provider * * @param Graph $graph * @param $vertex * @param $expected * @param $msg */ public function testGetVertex(Graph $graph, $vertex, $expected, $msg) { $this->assertEquals($expected, $graph->get_vertex($vertex), $msg); }
public function __construct() { parent::__construct(); $this->traverser = new DirectedGraphTraverser($this); }