Display fixes for tests

parent 714a32c5
...@@ -133,7 +133,7 @@ function fA_test(;theta = (0.5,0.7,1.0,0.0), m = 1.3, size = (8,8,8,16),prec = 1 ...@@ -133,7 +133,7 @@ function fA_test(;theta = (0.5,0.7,1.0,0.0), m = 1.3, size = (8,8,8,16),prec = 1
return sum(abs.(res-res_th)) return sum(abs.(res-res_th))
end end
difA = fA_test(); difA = fA_test();
...@@ -144,5 +144,5 @@ if difA > 1.0e-15 ...@@ -144,5 +144,5 @@ if difA > 1.0e-15
elseif difP > 1.0e-15 elseif difP > 1.0e-15
error("fP test failed with error ", difP) error("fP test failed with error ", difP)
else else
print("fA & fP tests passes with errors: ", difA," and ",difP,"\n") print("fA & fP tests passed with errors: ", difA," and ",difP,"!\n")
end end
\ No newline at end of file
...@@ -84,5 +84,5 @@ for i in 1:3 for j in 1:4 ...@@ -84,5 +84,5 @@ 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,"\n") print("Dwpl test passed with average error ", dif/12,"!\n")
end end
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