Skip to content

Commit b697470

Browse files
committed
Reduce time 'T' & tolerance in test/
1 parent 16c7d13 commit b697470

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

test/L96m/data/dp5_bal.npy

-6.33 KB
Binary file not shown.

test/L96m/data/dp5_full.npy

-57 KB
Binary file not shown.

test/L96m/data/tsitpap8_full.npy

-57 KB
Binary file not shown.

test/L96m/runtests.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ println("")
3838
################################################################################
3939
# integration testing ##########################################################
4040
################################################################################
41-
const T = 1.0
41+
const T = 0.1
4242
const dtmax = 1e-5
4343
const saveat = 1e-2
4444
pb_full = DE.ODEProblem(full, z0, (0.0, T), l96)
@@ -69,8 +69,8 @@ println("steps:", lpad(length(sol_bal.t), LPAD_INTEGER),
6969
"\telapsed:", lpad(elapsed_bal, LPAD_FLOAT))
7070

7171
@testset "integration testing" begin
72-
@test isapprox(sol_dp5[:,1:end], dp5_test, atol=1e-5)
73-
@test isapprox(sol_tp8[:,1:end], tp8_test, atol=1e-5)
72+
@test isapprox(sol_dp5[:,1:end], dp5_test, atol=1e-3)
73+
@test isapprox(sol_tp8[:,1:end], tp8_test, atol=1e-3)
7474
@test isapprox(sol_bal[:,1:end], bal_test, atol=1e-5)
7575
end
7676
println("")

0 commit comments

Comments
 (0)