Skip to content

Commit

Permalink
Rm not needed code
Browse files Browse the repository at this point in the history
  • Loading branch information
bennibolm committed Oct 22, 2024
1 parent 2405846 commit 64c783f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
3 changes: 0 additions & 3 deletions test/test_structured_2d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -804,9 +804,6 @@ end
lines = readlines(joinpath("out", "alphas_min.txt"))
@test lines[1] ==
"# iter, simu_time, alpha_min_rho, alpha_avg_rho, alpha_min_rho_v1, alpha_avg_rho_v1, alpha_min_rho_v2, alpha_avg_rho_v2, alpha_min_rho_e, alpha_avg_rho_e"
cmd = string(Base.julia_cmd())
coverage = occursin("--code-coverage", cmd) &&
!occursin("--code-coverage=none", cmd)
if coverage
# Run with coverage takes 1 time steps.
@test startswith(lines[end], "1, 0.0002") # TODO
Expand Down
9 changes: 0 additions & 9 deletions test/test_tree_2d_euler.jl
Original file line number Diff line number Diff line change
Expand Up @@ -569,9 +569,6 @@ end
lines = readlines(joinpath("out", "alphas.txt"))
@test lines[1] ==
"# iter, simu_time, alpha_max, alpha_avg"
cmd = string(Base.julia_cmd())
coverage = occursin("--code-coverage", cmd) &&
!occursin("--code-coverage=none", cmd)
if coverage
# Run with coverage takes 6 time steps.
@test occursin(r"6, 0.014[0-9]*, 1.0, 0.953", lines[end])
Expand Down Expand Up @@ -635,9 +632,6 @@ end
lines = readlines(joinpath("out", "alphas_mean.txt"))
@test lines[1] ==
"# iter, simu_time, alpha_min_rho, alpha_avg_rho, alpha_min_rho_v1, alpha_avg_rho_v1, alpha_min_rho_v2, alpha_avg_rho_v2, alpha_min_rho_e, alpha_avg_rho_e, alpha_min_pressure, alpha_avg_pressure, alpha_min_entropy, alpha_avg_entropy"
cmd = string(Base.julia_cmd())
coverage = occursin("--code-coverage", cmd) &&
!occursin("--code-coverage=none", cmd)
if coverage
# Run with coverage takes 6 time steps.
@test startswith(lines[end], "6, 0.014")
Expand All @@ -652,9 +646,6 @@ end
lines = readlines(joinpath("out", "alphas_min.txt"))
@test lines[1] ==
"# iter, simu_time, alpha_min_rho, alpha_avg_rho, alpha_min_rho_v1, alpha_avg_rho_v1, alpha_min_rho_v2, alpha_avg_rho_v2, alpha_min_rho_e, alpha_avg_rho_e, alpha_min_pressure, alpha_avg_pressure, alpha_min_entropy, alpha_avg_entropy"
cmd = string(Base.julia_cmd())
coverage = occursin("--code-coverage", cmd) &&
!occursin("--code-coverage=none", cmd)
if coverage
# Run with coverage takes 6 time steps.
@test startswith(lines[end], "6, 0.014")
Expand Down

0 comments on commit 64c783f

Please sign in to comment.