We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 712e20d commit d93d6bdCopy full SHA for d93d6bd
tests/CompleteGraphTest.php
@@ -1,11 +1,6 @@
1
<?php
2
3
-use Fhaculty\Graph\Algorithm\Complete;
4
-
5
-use Fhaculty\Graph\Algorithm\Directed;
6
7
use Fhaculty\Graph\Graph;
8
9
use Fhaculty\Graph\Loader\CompleteGraph;
10
11
class CompleteGraphTest extends TestCase
@@ -42,11 +37,5 @@ public function testDirected()
42
37
43
38
$this->assertEquals($n, count($graph->getVertices()));
44
39
$this->assertEquals($n*($n-1), count($graph->getEdges())); // n*(n-1) for directed graphs
45
46
- $alg = new Directed($graph);
47
- $this->assertTrue($alg->hasDirected());
48
49
- $alg = new Complete($graph);
50
- $this->assertTrue($alg->isComplete());
51
40
}
52
41
0 commit comments