From 6a03c94809f361a7f598d33049dbe2da69bdcb89 Mon Sep 17 00:00:00 2001 From: dpo Date: Wed, 4 Oct 2023 13:50:12 +0000 Subject: [PATCH] :robot: Format .jl files --- test/runtests.jl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/runtests.jl b/test/runtests.jl index a288cbb6..70892408 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -84,7 +84,8 @@ for (h, h_name) ∈ ((NormL0(λ), "l0"), (NormL1(λ), "l1"), (IndBallL0(10 * com @test length(out.solver_specific[:Fhist]) == length(out.solver_specific[:Hhist]) @test length(out.solver_specific[:Fhist]) == length(out.solver_specific[:SubsolverCounter]) @test length(out.solver_specific[:Fhist]) == length(out.solver_specific[:NLSGradHist]) - @test out.solver_specific[:NLSGradHist][end] == bpdn_nls.counters.neval_jprod_residual + bpdn_nls.counters.neval_jtprod_residual - 1 + @test out.solver_specific[:NLSGradHist][end] == + bpdn_nls.counters.neval_jprod_residual + bpdn_nls.counters.neval_jtprod_residual - 1 @test obj(bpdn_nls, out.solution) == out.solver_specific[:Fhist][end] @test h(out.solution) == out.solver_specific[:Hhist][end] @test out.status == :first_order @@ -109,7 +110,8 @@ for (h, h_name) ∈ ((NormL1(λ), "l1"),) @test length(LMTR_out.solver_specific[:Fhist]) == length(LMTR_out.solver_specific[:SubsolverCounter]) @test length(LMTR_out.solver_specific[:Fhist]) == length(LMTR_out.solver_specific[:NLSGradHist]) - @test LMTR_out.solver_specific[:NLSGradHist][end] == bpdn_nls.counters.neval_jprod_residual + bpdn_nls.counters.neval_jtprod_residual - 1 + @test LMTR_out.solver_specific[:NLSGradHist][end] == + bpdn_nls.counters.neval_jprod_residual + bpdn_nls.counters.neval_jtprod_residual - 1 @test obj(bpdn_nls, LMTR_out.solution) == LMTR_out.solver_specific[:Fhist][end] @test h(LMTR_out.solution) == LMTR_out.solver_specific[:Hhist][end] @test LMTR_out.status == :first_order