tclean result
incmesh result 0.1
triangles result
-set info [trinfo result]
-regexp { +([-0-9.+eE]+) +triangles} $info full tri
-regexp { +([-0-9.+eE]+) +nodes} $info full nod
-
-if { $tri <= 0 || $nod <= 0 } {
- puts "Error : Problems with shading"
-}
+checktrinfo result -tri -nod
checkview -display result -2d -path ${imagedir}/${test_image}.png