File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ class DepthFirstSearchTests: XCTestCase {
9
9
#endif
10
10
}
11
11
func testExploringTree( ) {
12
- let tree = Digraph ( )
12
+ let tree = Graph ( )
13
13
14
14
let nodeA = tree. addNode ( " a " )
15
15
let nodeB = tree. addNode ( " b " )
@@ -34,7 +34,7 @@ class DepthFirstSearchTests: XCTestCase {
34
34
}
35
35
36
36
func testExploringDigraph( ) {
37
- let digraph = Digraph ( )
37
+ let digraph = Graph ( )
38
38
39
39
let nodeA = digraph. addNode ( " a " )
40
40
let nodeB = digraph. addNode ( " b " )
@@ -81,7 +81,7 @@ class DepthFirstSearchTests: XCTestCase {
81
81
}
82
82
83
83
func testExploringDigraphWithASingleNode( ) {
84
- let digraph = Digraph ( )
84
+ let digraph = Graph ( )
85
85
let node = digraph. addNode ( " a " )
86
86
87
87
let nodesExplored = depthFirstSearch ( digraph, source: node)
You can’t perform that action at this time.
0 commit comments