]> OCCT Git - occt-copy.git/commitdiff
27002: Test cases for Set-42
authoremv <emv@opencascade.com>
Mon, 28 Dec 2015 04:34:46 +0000 (07:34 +0300)
committerbugmaster <bugmaster@opencascade.com>
Wed, 13 Jan 2016 12:06:57 +0000 (15:06 +0300)
tests/bugs/modalg_6/bug27002_1 [new file with mode: 0644]
tests/bugs/modalg_6/bug27002_2 [new file with mode: 0644]

diff --git a/tests/bugs/modalg_6/bug27002_1 b/tests/bugs/modalg_6/bug27002_1
new file mode 100644 (file)
index 0000000..0531017
--- /dev/null
@@ -0,0 +1,22 @@
+puts "============"
+puts "OCC27002"
+puts "============"
+puts ""
+###############################
+## First test case for Set-42
+###############################
+
+restore [locate_data_file bug27002_Face.brep] b1
+restore [locate_data_file bug27002_Compartment.brep] b2
+
+bclearobjects
+bcleartools
+baddobjects b1
+baddtools b2
+bfillds
+bbop result 0
+donly result
+
+checkprops result -s empty
+
+set 2dviewer 1
diff --git a/tests/bugs/modalg_6/bug27002_2 b/tests/bugs/modalg_6/bug27002_2
new file mode 100644 (file)
index 0000000..0132e7c
--- /dev/null
@@ -0,0 +1,23 @@
+puts "============"
+puts "OCC27002"
+puts "============"
+puts ""
+###############################
+## Second test case for Set-42
+###############################
+
+restore [locate_data_file bug27002_Face.brep] b1
+restore [locate_data_file bug27002_Compartment.brep] b2
+
+ttranslate b1 0 -3.189495771656425 -3.8505995276821197
+
+bclearobjects
+bcleartools
+baddobjects b1
+baddtools b2
+bfillds
+bbop result 0
+
+checkprops result -s 0.0639006
+
+set 2dviewer 1