update runtests.jl

This commit is contained in:
relmo 2020-06-18 22:39:12 +02:00
parent 5387675d9e
commit d1c8941a7f
2 changed files with 17 additions and 34 deletions

View file

@ -188,9 +188,9 @@ version = "1.3.4+0"
[[OpenSSL_jll]] [[OpenSSL_jll]]
deps = ["Libdl", "Pkg"] deps = ["Libdl", "Pkg"]
git-tree-sha1 = "d2a6f25262d568b5a7e454cf7ff5066a79d16c7d" git-tree-sha1 = "d120f3b7173eba8b55b7008fa576e46dbd5da536"
uuid = "458c3c95-2e84-50aa-8efc-19380b2a3a95" uuid = "458c3c95-2e84-50aa-8efc-19380b2a3a95"
version = "1.1.1+2" version = "1.1.1+3"
[[Opus_jll]] [[Opus_jll]]
deps = ["Libdl", "Pkg"] deps = ["Libdl", "Pkg"]
@ -312,7 +312,8 @@ deps = ["Distributed", "InteractiveUtils", "Logging", "Random"]
uuid = "8dfed614-e22c-5e08-85e1-65c5234f0b40" uuid = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
[[Test_Optinum]] [[Test_Optinum]]
git-tree-sha1 = "bd750cc6a66d4b1eb66cd2a5ec58bd786966f63d" deps = ["Test"]
git-tree-sha1 = "743a5ff116e59fc9d59062a6f173bd09a85bd1b0"
repo-rev = "master" repo-rev = "master"
repo-url = "https://github.com/mathn7/Test_Optinum.git" repo-url = "https://github.com/mathn7/Test_Optinum.git"
uuid = "f01acfed-6be5-49b9-8763-0b41ea537fc3" uuid = "f01acfed-6be5-49b9-8763-0b41ea537fc3"
@ -327,9 +328,9 @@ uuid = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5"
[[Zlib_jll]] [[Zlib_jll]]
deps = ["Libdl", "Pkg"] deps = ["Libdl", "Pkg"]
git-tree-sha1 = "a2e0d558f6031002e380a90613b199e37a8565bf" git-tree-sha1 = "64b39656c75e67f85b4ac2b336c54674a39f599d"
uuid = "83775a58-1f1d-513f-b197-d71354ab007a" uuid = "83775a58-1f1d-513f-b197-d71354ab007a"
version = "1.2.11+10" version = "1.2.11+11"
[[libass_jll]] [[libass_jll]]
deps = ["Bzip2_jll", "FreeType2_jll", "FriBidi_jll", "Libdl", "Pkg", "Zlib_jll"] deps = ["Bzip2_jll", "FreeType2_jll", "FriBidi_jll", "Libdl", "Pkg", "Zlib_jll"]

View file

@ -11,54 +11,36 @@ include("../src/Pas_De_Cauchy.jl")
include("../src/Regions_De_Confiance.jl") include("../src/Regions_De_Confiance.jl")
# Tester l'algorithme de Newton # Tester l'algorithme de Newton
printstyled("Lancement des tests sur ",bold=true,color=:white)
printstyled("l'algorithme de Newton ",bold=true,color=:blue)
println("")
try try
Test_Optinum.tester_Algo_Newton(false,Algorithme_De_Newton) Test_Optinum.tester_Algo_Newton(false,Algorithme_De_Newton)
catch exception catch e
printstyled("$exception "*"\n"*"\n",bold=true,color=:red) printstyled("$e \n",bold=true,color=:red)
end end
# Tester l'algorithme du pas de Cauchy # Tester l'algorithme du pas de Cauchy
printstyled("Lancement des tests sur",bold=true,color=:white)
printstyled(" le pas de cauchy ",bold=true,color=:blue)
println("")
try try
Test_Optinum.tester_pas_de_cauchy(false,Pas_De_Cauchy) Test_Optinum.tester_pas_de_cauchy(false,Pas_De_Cauchy)
catch exception catch e
printstyled("$exception "*"\n"*"\n",bold=true,color=:red) printstyled("$e \n",bold=true,color=:red)
end end
# Tester l'algorithme du gradient conjugué tronqué # Tester l'algorithme du gradient conjugué tronqué
printstyled("Lancement des tests sur",bold=true,color=:white)
printstyled(" le gradient conjugué tronqué ",bold=true,color=:blue)
println("")
try try
Test_Optinum.tester_gct(false,Gradient_Conjugue_Tronque) Test_Optinum.tester_gct(false,Gradient_Conjugue_Tronque)
catch exception catch e
printstyled("$exception "*"\n"*"\n",bold=true,color=:red) printstyled("$e \n",bold=true,color=:red)
end end
# Tester l'algorithme des Régions de confiance avec PasdeCauchy | GCT # Tester l'algorithme des Régions de confiance avec PasdeCauchy | GCT
printstyled("Lancement des tests sur",bold=true,color=:white)
printstyled(" les régions de confiance ",bold=true,color=:blue)
println("")
try try
Test_Optinum.tester_regions_de_confiance(false,Regions_De_Confiance) Test_Optinum.tester_regions_de_confiance(false,Regions_De_Confiance)
catch exception catch e
printstyled("$exception "*"\n"*"\n",bold=true,color=:red) printstyled("$e \n",bold=true,color=:red)
end end
# Tester l'algorithme du Lagrangien Augmenté # Tester l'algorithme du Lagrangien Augmenté
printstyled("Lancement des tests sur ",bold=true,color=:white)
printstyled("le Lagrangien augmenté ",bold=true,color=:blue)
println("")
try try
Test_Optinum.tester_Lagrangien_Augmente(false,Lagrangien_Augmente) Test_Optinum.tester_Lagrangien_Augmente(false,Lagrangien_Augmente)
catch exception catch e
printstyled("$exception "*"\n"*"\n",bold=true,color=:red) printstyled("$e \n",bold=true,color=:red)
end end