From 86dc8e040097a75641b1c570cd6c08c836ccc40a Mon Sep 17 00:00:00 2001 From: relmo Date: Sat, 20 Jun 2020 14:05:57 +0200 Subject: [PATCH] changer l affichage --- Manifest.toml | 2 +- test/runtests.jl | 31 ++++++++----------------------- 2 files changed, 9 insertions(+), 24 deletions(-) diff --git a/Manifest.toml b/Manifest.toml index 061b182..96853c3 100644 --- a/Manifest.toml +++ b/Manifest.toml @@ -41,7 +41,7 @@ uuid = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [[TestOptinum]] deps = ["Markdown", "Test"] -git-tree-sha1 = "d9c26bb367368b52be8ec8b3a931f34310b12d29" +git-tree-sha1 = "ba3c55226180e46ff696dfb4f9e615f7bbefc5ff" repo-rev = "master" repo-url = "https://github.com/mathn7/TestOptinum.git" uuid = "a6016688-b6f6-4950-8384-ab0954b6af15" diff --git a/test/runtests.jl b/test/runtests.jl index 57ab852..5d4c8e3 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -13,36 +13,21 @@ include("../src/Regions_De_Confiance.jl") TestOptinum.cacher_stacktrace() # Tester l'algorithme de Newton -try +res = @testset "Test Optinum" begin + + # Tester l'algorithme de Newton TestOptinum.tester_Algo_Newton(false,Algorithme_De_Newton) -catch e - printstyled("$e \n",bold=true,color=:red) -end -# Tester l'algorithme du pas de Cauchy -try + # Tester l'algorithme du pas de Cauchy TestOptinum.tester_pas_de_cauchy(false,Pas_De_Cauchy) -catch e - printstyled("$e \n",bold=true,color=:red) -end -# Tester l'algorithme du gradient conjugué tronqué -try + # Tester l'algorithme du gradient conjugué tronqué TestOptinum.tester_gct(false,Gradient_Conjugue_Tronque) -catch e - printstyled("$e \n",bold=true,color=:red) -end -# Tester l'algorithme des Régions de confiance avec PasdeCauchy | GCT -try + # Tester l'algorithme des Régions de confiance avec PasdeCauchy | GCT TestOptinum.tester_regions_de_confiance(false,Regions_De_Confiance) -catch e - printstyled("$e \n",bold=true,color=:red) -end -# Tester l'algorithme du Lagrangien Augmenté -try + # Tester l'algorithme du Lagrangien Augmenté TestOptinum.tester_Lagrangien_Augmente(false,Lagrangien_Augmente) -catch e - printstyled("$e \n",bold=true,color=:red) + end