Skip to content

Commit 4ce6763

Browse files
committed
Add a test for TUDatasets
1 parent 025eca3 commit 4ce6763

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

test/TUDatasets.jl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
2+
3+
@testset "TUDatasets" begin
4+
5+
graphs = loadgraphs(TUDatasets.AIDSDataset())
6+
7+
@test ng(graphs) == 2000
8+
end

test/runtests.jl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,10 @@ using GraphDatasets
22
using Test
33

44
include("utils.jl")
5+
6+
if parse(Bool, get(ENV, "CI", "false"))
7+
@info "CI detected: skipping some test"
8+
else
9+
include("TUDatasets.jl")
10+
end
11+

0 commit comments

Comments
 (0)