diff --git a/Project.toml b/Project.toml index 1cd21bd..c01f21c 100644 --- a/Project.toml +++ b/Project.toml @@ -31,5 +31,4 @@ Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [targets] -test = ["DynamicalSystemsBase", "Test", -"Random", "DelimitedFiles", "Peaks", "Downloads"] +test = ["DynamicalSystemsBase", "Test", "Random", "DelimitedFiles", "Peaks", "Downloads"] diff --git a/test/runtests.jl b/test/runtests.jl index de54015..b35b368 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -4,20 +4,12 @@ using Test import Downloads # Download some test timeseries - -# Old: -repo = "https://raw.githubusercontent.com/JuliaDynamics/NonlinearDynamicsTextbook/master/exercise_data" tsfolder = joinpath(@__DIR__, "timeseries") -todownload = ["$n.csv" for n in 1:4] - -mkpath(tsfolder) -for a in todownload - Downloads.download(repo*"/"*a, joinpath(tsfolder, a)) -end - -#New: +todownload1 = ["$n.csv" for n in 1:4] todownload = ["test_time_series_lorenz_standard_N_10000_multivariate.csv", "test_time_series_roessler_N_10000_multivariate.csv"] +append!(todownload, todownload1) repo = "https://raw.githubusercontent.com/JuliaDynamics/JuliaDynamics/master/timeseries" +mkpath(tsfolder) for a in todownload Downloads.download(repo*"/"*a, joinpath(tsfolder, a)) end