0024263: TNaming_CopyShape::CopyTool failure
authorapn <apn@opencascade.com>
Mon, 21 Oct 2013 13:20:07 +0000 (17:20 +0400)
committerbugmaster <bugmaster@opencascade.com>
Thu, 24 Oct 2013 07:41:06 +0000 (11:41 +0400)
Problem is not reproduced on current state of master. Test case bugs/caf/bug24263 was added.

tests/bugs/caf/bug24263 [new file with mode: 0644]

diff --git a/tests/bugs/caf/bug24263 b/tests/bugs/caf/bug24263
new file mode 100644 (file)
index 0000000..88d9819
--- /dev/null
@@ -0,0 +1,27 @@
+puts "=========="
+puts "OCC24263"
+puts "=========="
+puts ""
+###################################################
+# TNaming_CopyShape::CopyTool failure
+###################################################
+
+box b 100 100 100
+explode b F
+if { [regexp "Copy is Done" [CopyShape b b_1] ] != 1 } {
+    puts "Error : Copy is not done"
+} else {
+    puts "OK : Copy is done"
+}
+
+if { [regexp "SOLID FORWARD" [whatis b_c] ] != 1 } {
+    puts "Error : b_c is not a solid forward"
+} else {
+    puts "OK : b_c is  a solid forward"
+}
+
+if { [regexp "FACE REVERSED" [whatis b_1_c] ] != 1 } {
+    puts "Error : b_1_c is not a face reversed"
+} else {
+    puts "OK : b_1_c is  a face reversed"
+}