@@ -5,17 +5,22 @@ using OrdinaryDiffEq
55@test stability_region (constructTsitourasPapakostas6 (), initial_guess = - 3.5 )≈ - 3.95413 rtol= 1e-3
66@test stability_region (constructRadauIIA5 (), initial_guess = 12.0 )≈ 11.84 rtol= 1e-2
77
8- @test @inferred (stability_region (constructTsitouras5 ()))≈ @inferred (stability_region (Tsit5 ()))
9- @test @inferred (stability_region (constructSSPRK104 ()))≈ @inferred (stability_region (SSPRK104 ()))
10- @test @inferred (stability_region (constructImplicitEuler ()))≈ @inferred (stability_region (ImplicitEuler ()))
11- @test @inferred (abs (stability_region (nextfloat (typemin (Float64)), ImplicitEuler ()))) < eps (Float64)
8+ @test @inferred (stability_region (constructTsitouras5 ())) ≈
9+ @inferred (stability_region (Tsit5 ()))
10+ @test @inferred (stability_region (constructSSPRK104 ())) ≈
11+ @inferred (stability_region (SSPRK104 ()))
12+ @test @inferred (stability_region (constructImplicitEuler ())) ≈
13+ @inferred (stability_region (ImplicitEuler ()))
14+ @test @inferred (abs (stability_region (nextfloat (typemin (Float64)), ImplicitEuler ()))) <
15+ eps (Float64)
1216
13- @test @inferred (imaginary_stability_interval (constructSSPRK33 ()))≈ sqrt (3 )
14- @test @inferred (imaginary_stability_interval (constructSSPRK33 (Float32)))≈ sqrt (3.0f0 )
15- @test @inferred (imaginary_stability_interval (constructKutta3 ()))≈ sqrt (3 )
16- @test @inferred (imaginary_stability_interval (constructKutta3 (Float32)))≈ sqrt (3.0f0 )
17- @test @inferred (imaginary_stability_interval (constructRK4 ()))≈ 2.8284271247
17+ @test @inferred (imaginary_stability_interval (constructSSPRK33 ())) ≈ sqrt (3 )
18+ @test @inferred (imaginary_stability_interval (constructSSPRK33 (Float32))) ≈ sqrt (3.0f0 )
19+ @test @inferred (imaginary_stability_interval (constructKutta3 ())) ≈ sqrt (3 )
20+ @test @inferred (imaginary_stability_interval (constructKutta3 (Float32))) ≈ sqrt (3.0f0 )
21+ @test @inferred (imaginary_stability_interval (constructRK4 ())) ≈ 2.8284271247
1822
19- @test @inferred (imaginary_stability_interval (SSPRK33 ()))≈ sqrt (3 )
20- @test @inferred (imaginary_stability_interval (SSPRK33 (), initial_guess = 5.0f0 ))≈ sqrt (3.0f0 )
21- @test @inferred (imaginary_stability_interval (RK4 ()))≈ 2.8284271247
23+ @test @inferred (imaginary_stability_interval (SSPRK33 ())) ≈ sqrt (3 )
24+ @test @inferred (imaginary_stability_interval (SSPRK33 (), initial_guess = 5.0f0 )) ≈
25+ sqrt (3.0f0 )
26+ @test @inferred (imaginary_stability_interval (RK4 ())) ≈ 2.8284271247
0 commit comments