Skip to content

Commit

Permalink
Fix problem orderings in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikQQY committed Dec 20, 2024
1 parent 2ac505b commit 25f6c2b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/BoundaryValueDiffEqFIRK/test/expanded/firk_basic_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ end
@testset "LobattoIIIa$stage" for stage in (2, 3, 4, 5)
@time sim = test_convergence(
dts, prob, lobattoIIIa_solver(Val(stage)); abstol = 1e-8)
if (stage == 5) || (((i == 7) || (i == 8)) && stage == 4)
if (stage == 5) || (((i == 9) || (i == 10)) && stage == 4)
@test_broken sim.𝒪est[:final]2 * stage - 2 atol=testTol
else
@test sim.𝒪est[:final]2 * stage - 2 atol=testTol
Expand All @@ -190,7 +190,7 @@ end
@testset "LobattoIIIb$stage" for stage in (2, 3, 4, 5)
@time sim = test_convergence(
dts, prob, lobattoIIIb_solver(Val(stage)); abstol = 1e-8, reltol = 1e-8)
if (stage == 5) || (stage == 4 && i == 8)
if (stage == 5) || (stage == 4 && i == 10)
@test_broken sim.𝒪est[:final]2 * stage - 2 atol=testTol
elseif stage == 4
@test sim.𝒪est[:final]2 * stage - 2 atol=0.5
Expand Down
4 changes: 2 additions & 2 deletions lib/BoundaryValueDiffEqFIRK/test/nested/firk_basic_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ end
@time sim = test_convergence(
dts, prob, lobattoIIIa_solver(Val(stage); nested_nlsolve = nested);
abstol = 1e-8, reltol = 1e-8)
if (stage == 4 && ((i == 7) || (i == 8)))
if (stage == 4 && ((i == 9) || (i == 10)))
@test sim.𝒪est[:final]2 * stage - 2 atol=testTol
elseif first(sim.errors[:final]) < 1e-12
@test_broken sim.𝒪est[:final]2 * stage - 2 atol=testTol
Expand All @@ -209,7 +209,7 @@ end
@time sim = test_convergence(
dts, prob, lobattoIIIb_solver(Val(stage); nested_nlsolve = nested);
abstol = 1e-8, reltol = 1e-8)
if (stage == 4 && ((i == 7) || (i == 8)))
if (stage == 4 && ((i == 9) || (i == 10)))
@test sim.𝒪est[:final]2 * stage - 2 atol=testTol
elseif first(sim.errors[:final]) < 1e-12
@test_broken sim.𝒪est[:final]2 * stage - 2 atol=testTol
Expand Down

0 comments on commit 25f6c2b

Please sign in to comment.