Skip to content

Commit

Permalink
Add a test for TUDatasets
Browse files Browse the repository at this point in the history
  • Loading branch information
simonschoelly committed Feb 10, 2021
1 parent 025eca3 commit 4ce6763
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/TUDatasets.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@


@testset "TUDatasets" begin

graphs = loadgraphs(TUDatasets.AIDSDataset())

@test ng(graphs) == 2000
end
7 changes: 7 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,10 @@ using GraphDatasets
using Test

include("utils.jl")

if parse(Bool, get(ENV, "CI", "false"))
@info "CI detected: skipping some test"
else
include("TUDatasets.jl")
end

0 comments on commit 4ce6763

Please sign in to comment.