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 701e195 commit 9550cfcCopy full SHA for 9550cfc
test/test_greedy_star.jl
@@ -45,15 +45,14 @@ colors.
45
46
=#
47
48
-inner = SimpleGraph(4)
49
-g = VSafeGraph(inner)
+gx = SimpleGraph(4)
50
51
-add_edge!(g,1,2)
52
-add_edge!(g,1,3)
53
-add_edge!(g,2,3)
54
-add_edge!(g,3,4)
+add_edge!(gx,1,2)
+add_edge!(gx,1,3)
+add_edge!(gx,2,3)
+add_edge!(gx,3,4)
55
56
-push!(test_graphs, g)
+push!(test_graphs, gx)
57
58
#begin testing
59
for i in 1:6
@@ -92,7 +91,7 @@ for i in 1:6
92
91
93
#test condition 2
94
for j = vertices(g)
95
- walk = LighGraphs.saw(g, j, 4)
+ walk = LightGraphs.saw(g, j, 4)
96
walk_colors = zeros(Int64, 0)
97
if length(walk) >= 4
98
for t in walk
0 commit comments