]> OCCT Git - occt-copy.git/commitdiff
Create test case
authormsv <msv@opencascade.com>
Fri, 29 Jul 2016 15:38:20 +0000 (18:38 +0300)
committerakz <akz@opencascade.com>
Fri, 12 Aug 2016 10:17:53 +0000 (13:17 +0300)
tests/bugs/heal/bug27729 [new file with mode: 0644]

diff --git a/tests/bugs/heal/bug27729 b/tests/bugs/heal/bug27729
new file mode 100644 (file)
index 0000000..25ddefe
--- /dev/null
@@ -0,0 +1,18 @@
+puts "========"
+puts "OCC27729"
+puts "========"
+puts ""
+#######################################################################
+# UnifySameDomain: allow the user to specify linear and angular tolerances
+#######################################################################
+
+restore [locate_data_file a_1275.brep] a
+
+unifysamedom r a -t 0.1 -a 0.08
+
+regexp {FACE *: *(\d*)} [nbshapes r] full nbfaces
+if {$nbfaces > 1000} {
+  puts "Error: number of faces in the result is too large"
+}
+
+checkview -display r -2d -path ${imagedir}/${test_image}.png
\ No newline at end of file