0027126: Create command checktrinfo to verify meshes
[occt.git] / tests / bugs / modalg_2 / bug269_2
index 9e9dda1..e63cb19 100755 (executable)
@@ -12,16 +12,7 @@ incmesh result 0.01
 #View the result of mesh
 triangles result
 
-set tri_info [trinfo result]
-regexp { +([-0-9.+eE]+) +triangles} $tri_info full tri
-regexp { +([-0-9.+eE]+) +nodes} $tri_info full nod
-
-# $tri != 7627 && $nod != 3888,aki251103
-if { $tri != 6849 && $nod !=  3498 }  {
-  puts "Shady OCC269: shading problem may be"
-} else {
-  puts "Shading of OCC269 is OK"
-}
+checktrinfo result -tri 3991 -nod 2076
 checkprops result -s 32.9479 
 checkshape result
 checkview -display result -2d -path ${imagedir}/${test_image}.png