Skip to content

Commit

Permalink
Adapt tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bennibolm committed May 11, 2024
1 parent e0787ff commit 432387e
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 25 deletions.
8 changes: 4 additions & 4 deletions test/test_p4est_2d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -470,16 +470,16 @@ end
@trixi_testset "elixir_euler_double_mach_MCL.jl" begin
@test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_euler_double_mach_MCL.jl"),
l2=[
0.8887316108902814,
6.644244699117552,
0.8887316275665462,
6.644244953884147,
3.449004719784639,
76.2706476520857,
],
linf=[
11.047531178706233,
121.96649938887894,
121.96650277677288,
35.74266968217143,
1370.2362649787465,
1370.2362955295687,
],
initial_refinement_level=1,
tspan=(0.0, 0.05))
Expand Down
16 changes: 8 additions & 8 deletions test/test_structured_2d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -532,16 +532,16 @@ end
@test_trixi_include(joinpath(EXAMPLES_DIR,
"elixir_euler_source_terms_sc_subcell.jl"),
l2=[
0.008160127825550706,
0.008658254974279198,
0.009351901915798305,
0.0277570186711509,
0.00816012943805366,
0.008658255997419217,
0.00935190284719103,
0.027757019482291357,
],
linf=[
0.027225588710793502,
0.040734035190958195,
0.03819406890281263,
0.08080654623152705,
0.02722563220635177,
0.040734034380730755,
0.03819407626402338,
0.08080649141597318,
],
tspan=(0.0, 0.5))
# Ensure that we do not have excessive memory allocations
Expand Down
16 changes: 8 additions & 8 deletions test/test_tree_2d_euler.jl
Original file line number Diff line number Diff line change
Expand Up @@ -397,16 +397,16 @@ end
@trixi_testset "elixir_euler_blast_wave_sc_subcell.jl" begin
@test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_euler_blast_wave_sc_subcell.jl"),
l2=[
0.30785094769124677,
0.17599603017990473,
0.17594201496603085,
0.614120201076276,
0.30783113348004093,
0.17597018114974242,
0.17594406844552404,
0.6141151469952726,
],
linf=[
1.2971828380703805,
1.1057475500114755,
1.105770653844522,
2.4364101844067916,
1.297252661541156,
1.105840523330678,
1.1058680103852032,
2.434846187265568,
],
tspan=(0.0, 0.5),
initial_refinement_level=4,
Expand Down
10 changes: 5 additions & 5 deletions test/test_tree_2d_eulermulti.jl
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,11 @@ EXAMPLES_DIR = pkgdir(Trixi, "examples", "tree_2d_dgsem")
@test_trixi_include(joinpath(EXAMPLES_DIR,
"elixir_eulermulti_shock_bubble_shockcapturing_subcell_minmax.jl"),
l2=[
73.10860950390489,
1.4599090197303102,
57176.23978426408,
0.17812910616624406,
0.010123079422717837,
76.5909636797791,
1.9879932386864965,
59851.345150393994,
0.1871098818112499,
0.010631432251136151,
],
linf=[
212.71245739310544,
Expand Down

0 comments on commit 432387e

Please sign in to comment.