Skip to content

Commit

Permalink
fixed test labelling
Browse files Browse the repository at this point in the history
  • Loading branch information
jagoosw committed Sep 11, 2023
1 parent ce514c0 commit 67f9365
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions test/test_LOBSTER.jl
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ grid = RectilinearGrid(architecture; size=(1, 1, 1), extent=(1, 1, 2))

for open_bottom = (false, true), sinking = (false, true), variable_redfield = (false, true), oxygen = (false, true), carbonates = (false, true)
if !(sinking && open_bottom) # no sinking is the same with and without open bottom
@info "Testing on $(typeof(arch)) with carbonates $(carbonates ? :✅ : :❌), oxygen $(oxygen ? :✅ : :❌), variable redfield $(variable_redfield ? :✅ : :❌), sinking $(sinking ? :✅ : :❌), open bottom $(open_bottom ? :✅ : :❌))"
@testset "$arch, $carbonates, $oxygen, $variable_redfield, $sinking, $open_bottom" begin
@info "Testing on $(typeof(architecture)) with carbonates $(carbonates ? :✅ : :❌), oxygen $(oxygen ? :✅ : :❌), variable redfield $(variable_redfield ? :✅ : :❌), sinking $(sinking ? :✅ : :❌), open bottom $(open_bottom ? :✅ : :❌))"
@testset "$architecture, $carbonates, $oxygen, $variable_redfield, $sinking, $open_bottom" begin
test_LOBSTER(grid, carbonates, oxygen, variable_redfield, sinking, open_bottom, n_timesteps)
end
end
Expand Down
4 changes: 2 additions & 2 deletions test/test_NPZD.jl
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ grid = RectilinearGrid(architecture; size=(3, 3, 6), extent=(1, 1, 2))

for sinking = (false, true), open_bottom = (false, true)
if !(sinking && open_bottom) # no sinking is the same with and without open bottom
@info "Testing on $(typeof(arch)) with sinking $(sinking ? :✅ : :❌), open bottom $(open_bottom ? :✅ : :❌))"
@testset "$arch, $sinking, $open_bottom" begin
@info "Testing on $(typeof(architecture)) with sinking $(sinking ? :✅ : :❌), open bottom $(open_bottom ? :✅ : :❌))"
@testset "$architecture, $sinking, $open_bottom" begin
test_NPZD(grid, sinking, open_bottom)
end
end
Expand Down

0 comments on commit 67f9365

Please sign in to comment.