Skip to content

Commit 90eda2a

Browse files
authored
add unit test for parameters and output
1 parent 1ae064c commit 90eda2a

File tree

1 file changed

+2
-20
lines changed

1 file changed

+2
-20
lines changed

test/runtests.jl

+2-20
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,12 @@
11
using Test
22
using PlanktonIndividuals
33

4-
# @testset "PlanktonIndividuals 3D tests:" begin
5-
# include(dirname(pathof(PlanktonIndividuals))*"/../test/model_test_3D.jl")
6-
# @test isapprox(TC,TCt; atol=1e2)
7-
# end #@testset "PlanktonIndividuals 3D tests:" begin
8-
9-
# @testset "PlanktonIndividuals 2D tests:" begin
10-
# include(dirname(pathof(PlanktonIndividuals))*"/../test/model_test_2D.jl")
11-
# @test isapprox(TP,TPt; atol=1e1)
12-
# end #@testset "PlanktonIndividuals 2D tests:" begin
13-
14-
# @testset "PlanktonIndividuals 1D tests:" begin
15-
# include(dirname(pathof(PlanktonIndividuals))*"/../test/model_test_1D.jl")
16-
# @test isapprox(TP,TPt; atol=1e1)
17-
# end #@testset "PlanktonIndividuals 1D tests:" begin
18-
19-
# @testset "PlanktonIndividuals 0D tests:" begin
20-
# include(dirname(pathof(PlanktonIndividuals))*"/../test/model_test_0D.jl")
21-
# @test isapprox(TP,TPt; atol=1e1)
22-
# end #@testset "PlanktonIndividuals 0D tests:" begin
23-
244
@testset "PlanktonIndividuals" begin
255
@testset "Unit tests" begin
266
include("grid_test.jl")
277
include("field_test.jl")
8+
include("parameter_test.jl")
9+
include("output_test.jl")
2810
end
2911
@testset "Example tests" begin
3012
include("example_3D_test.jl")

0 commit comments

Comments
 (0)