Skip to content

Commit 2f5d8e0

Browse files
author
LasNikas
committed
add tests
1 parent 288edcb commit 2f5d8e0

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

test/examples/examples_fluid.jl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,14 @@
289289
@test count_rhs_allocations(sol, semi) == 0
290290
end
291291

292+
@trixi_testset "fluid/simple_advection_2d.jl.jl" begin
293+
@trixi_test_nowarn trixi_include(@__MODULE__, tspan=(0.0, 0.5),
294+
joinpath(examples_dir(), "fluid",
295+
"simple_advection_2d.jl"))
296+
@test sol.retcode == ReturnCode.Success
297+
@test count_rhs_allocations(sol, semi) == 0
298+
end
299+
292300
@trixi_testset "fluid/pipe_flow_2d.jl - BoundaryModelLastiwka (WCSPH)" begin
293301
@trixi_test_nowarn trixi_include(@__MODULE__, tspan=(0.0, 0.5),
294302
joinpath(examples_dir(), "fluid",

0 commit comments

Comments
 (0)