Commit 9ec62aa3 authored by Fernando Pérez Panadero's avatar Fernando Pérez Panadero
parents 1a1f56e3 cb609b4f
...@@ -78,10 +78,11 @@ end ...@@ -78,10 +78,11 @@ end
return dif return dif
end end
let
dif = 0.0 dif = 0.0
for i in 1:3 for j in 1:4 for i in 1:3 for j in 1:4
dif += Dwpw_test(c=i,s=j) dif += Dwpw_test(c=i,s=j)
end end end end
print("Dwpl test passed with average error ", dif/12) print("Dwpl test passed with average error ", dif/12,"\n")
\ No newline at end of file end
...@@ -69,9 +69,9 @@ res = sum(norm2.(rpsi-dws.sp)) ...@@ -69,9 +69,9 @@ res = sum(norm2.(rpsi-dws.sp))
if res < 1.0e-15 if res < 1.0e-15
print("Test Drand passed with ",res,"% error!\n") print("Drand test passed with ",res,"% error!\n")
else else
error("Test Drand failed with difference: ",res,"\n") error("Drand test failed with difference: ",res,"\n")
end end
#include("SAD/test_sad.jl") #include("SAD/test_sad.jl")
include("flow/test_adapt.jl") #include("flow/test_adapt.jl")
include("dirac/test_solver_plw.jl") include("dirac/test_solver_plw.jl")
include("dirac/test_solver_rand.jl") include("dirac/test_solver_rand.jl")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment