File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -10,5 +10,5 @@ SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
10
10
Test = " 8dfed614-e22c-5e08-85e1-65c5234f0b40"
11
11
12
12
[compat ]
13
- julia = " 1"
14
13
LightGraphs = " 1.3"
14
+ julia = " 1"
Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ using SimpleWeightedGraphs
177
177
@test rem_vertex! (g, 2 )
178
178
@test nv (g) == 3 && ne (g) == 6
179
179
end
180
- g = SimpleWeightedGraph (CompleteGraph (3 ), 3 )
180
+ g = SimpleWeightedGraph (complete_graph (3 ), 3 )
181
181
@test sum (weights (g)) == 2 * ne (g) * 3
182
182
@test @inferred (get_weight (g, 1 , 2 )) == 3
183
183
@@ -219,7 +219,7 @@ using SimpleWeightedGraphs
219
219
@test s. weights[1 ,2 ] == 1
220
220
@test s. weights[2 ,1 ] == 2
221
221
222
- @test SimpleDiGraph (SimpleWeightedDiGraph (CycleGraph (4 ))) == SimpleDiGraph (CycleGraph (4 ))
223
- @test SimpleGraph (SimpleWeightedGraph (PathGraph (5 ))) == PathGraph (5 )
222
+ @test SimpleDiGraph (SimpleWeightedDiGraph (cycle_graph (4 ))) == SimpleDiGraph (cycle_graph (4 ))
223
+ @test SimpleGraph (SimpleWeightedGraph (path_graph (5 ))) == path_graph (5 )
224
224
225
225
end
You can’t perform that action at this time.
0 commit comments