@@ -30,12 +30,12 @@ abstract protected function createGraphTree();
3030 */
3131 abstract protected function createGraphParallelEdge ();
3232
33- public function testEmptyGraph ()
33+ public function testNullGraph ()
3434 {
3535 $ graph = new Graph ();
3636
3737 $ tree = $ this ->createTreeAlg ($ graph );
38- $ this ->assertTrue ($ tree ->isTree ());
38+ $ this ->assertFalse ($ tree ->isTree ());
3939 $ this ->assertTrue ($ tree ->getVerticesLeaf ()->isEmpty ());
4040 $ this ->assertTrue ($ tree ->getVerticesInternal ()->isEmpty ());
4141
@@ -44,7 +44,7 @@ public function testEmptyGraph()
4444
4545 /**
4646 * @param BaseDirected $tree
47- * @depends testEmptyGraph
47+ * @depends testNullGraph
4848 * @expectedException UnderflowException
4949 */
5050 public function testEmptyGraphDoesNotHaveRootVertex (BaseDirected $ tree )
@@ -54,7 +54,7 @@ public function testEmptyGraphDoesNotHaveRootVertex(BaseDirected $tree)
5454
5555 /**
5656 * @param BaseDirected $tree
57- * @depends testEmptyGraph
57+ * @depends testNullGraph
5858 * @expectedException UnderflowException
5959 */
6060 public function testEmptyGraphDoesNotHaveDegree (BaseDirected $ tree )
@@ -64,7 +64,7 @@ public function testEmptyGraphDoesNotHaveDegree(BaseDirected $tree)
6464
6565 /**
6666 * @param BaseDirected $tree
67- * @depends testEmptyGraph
67+ * @depends testNullGraph
6868 * @expectedException UnderflowException
6969 */
7070 public function testEmptyGraphDoesNotHaveHeight (BaseDirected $ tree )
0 commit comments