]> OCCT Git - occt.git/commitdiff
Test for 0022283: Problem with reading of attached IGES file.
authormkv <mkv@opencascade.com>
Tue, 11 Jul 2017 14:11:25 +0000 (17:11 +0300)
committerbugmaster <bugmaster@opencascade.com>
Thu, 13 Jul 2017 09:32:57 +0000 (12:32 +0300)
tests/bugs/iges/bug22283 [new file with mode: 0644]

diff --git a/tests/bugs/iges/bug22283 b/tests/bugs/iges/bug22283
new file mode 100644 (file)
index 0000000..3098cf6
--- /dev/null
@@ -0,0 +1,22 @@
+puts "========"
+puts "OCC22283"
+puts "========"
+puts ""
+##########################################################################
+# Problem with reading of attached IGES file
+##########################################################################
+
+igesbrep [locate_data_file bug22283_Mtwz_Training_Part.iges] a *
+tpcompound result
+
+checkprops result -s 46235.4
+checkshape result
+
+set nbshapes_expected "
+Number of shapes in shape
+ EDGE      : 1380
+ WIRE      : 209
+ FACE      : 167
+"
+checknbshapes result -ref ${nbshapes_expected} -t -m "importing file"
+checkview -display result -3d -path ${imagedir}/${test_image}.png