Skip to content

Commit

Permalink
remove spurious at-testset
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaLampert committed May 24, 2024
1 parent b926cd8 commit 5b3cebd
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions test/test_visualization.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,16 @@ using Test
using DispersiveShallowWater
using Plots

@testset "Unit tests" begin
@testset "Visualization" begin
trixi_include(@__MODULE__, default_example(), tspan = (0.0, 1.0))
@test_nowarn plot(semi => sol)
@test_nowarn plot!(semi => sol, plot_initial = true)
@test_nowarn plot(semi, sol, conversion = prim2cons, plot_bathymetry = false)
@test_nowarn plot(semi => sol, 0.0)
@test_nowarn plot(semi, sol, 0.0, conversion = prim2cons)
@test_nowarn plot(analysis_callback)
@test_nowarn plot(analysis_callback, what = (:errors,))
@test_nowarn plot(analysis_callback, what = (:integrals, :errors))
end
@testset "Visualization" begin
trixi_include(@__MODULE__, default_example(), tspan = (0.0, 1.0))
@test_nowarn plot(semi => sol)
@test_nowarn plot!(semi => sol, plot_initial = true)
@test_nowarn plot(semi, sol, conversion = prim2cons, plot_bathymetry = false)
@test_nowarn plot(semi => sol, 0.0)
@test_nowarn plot(semi, sol, 0.0, conversion = prim2cons)
@test_nowarn plot(analysis_callback)
@test_nowarn plot(analysis_callback, what = (:errors,))
@test_nowarn plot(analysis_callback, what = (:integrals, :errors))
end

end # module

0 comments on commit 5b3cebd

Please sign in to comment.