Skip to content

Commit 712e20d

Browse files
author
Christian Lück
committed
Update references to hasDirected()
1 parent 65c6b37 commit 712e20d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/CompleteGraphTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function testDirected()
4444
$this->assertEquals($n*($n-1), count($graph->getEdges())); // n*(n-1) for directed graphs
4545

4646
$alg = new Directed($graph);
47-
$this->assertTrue($alg->isDirected());
47+
$this->assertTrue($alg->hasDirected());
4848

4949
$alg = new Complete($graph);
5050
$this->assertTrue($alg->isComplete());

0 commit comments

Comments
 (0)