diff --git a/test/test_visualization.jl b/test/test_visualization.jl index 56d6ff27..8db08b90 100644 --- a/test/test_visualization.jl +++ b/test/test_visualization.jl @@ -5,7 +5,9 @@ using DispersiveShallowWater using Plots @testset "Visualization" begin - trixi_include(@__MODULE__, default_example(), tspan = (0.0, 1.0)) + custom_integral(q, equations) = q[1]^2 + DispersiveShallowWater.pretty_form_utf(::typeof(custom_integral)) = "∫η²" + trixi_include(@__MODULE__, default_example(), tspan = (0.0, 1.0), extra_analysis_integrals = (waterheight_total, custom_integral)) @test_nowarn plot(semi => sol) @test_nowarn plot!(semi => sol, plot_initial = true) @test_nowarn plot(semi, sol, conversion = prim2cons, plot_bathymetry = false)