0027126: Create command checktrinfo to verify meshes
[occt.git] / tests / bugs / modalg_2 / bug264_5
index 093e454..ac6afab 100755 (executable)
@@ -1,4 +1,5 @@
-puts "TODO OCC12345 ALL: Faulty OCC264_5: here is shading problem"
+puts "TODO OCC12345 ALL: Error: Number of triangles"
+puts "TODO OCC12345 ALL: Error: Number of nodes"
 puts "TODO OCC12345 ALL: Error : The area of result shape is"
 
 puts "========"
@@ -17,18 +18,6 @@ vclear
 isos result 0
 triangles result
 
-#smallview
-#fit
-
-set tri_info [trinfo result]
-regexp { +([-0-9.+eE]+) +triangles} $tri_info full tri
-regexp { +([-0-9.+eE]+) +nodes} $tri_info full nod
-
-if { $tri != 85 && $nod != 87 }  {
-    puts "Faulty OCC264_5: here is shading problem"
-} else {
-    puts "Shading of OCC264_5 is OK"
-}
-
+checktrinfo result -tri 85 -nod 87
 checkprops result -s 0 
 checkview -display result -3d -path ${imagedir}/${test_image}.png