From: apn Date: Mon, 21 Oct 2013 13:20:07 +0000 (+0400) Subject: 0024263: TNaming_CopyShape::CopyTool failure X-Git-Tag: V6_7_0_beta~58 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=8da5fb19a97226b53b0c23176bd3d1a542d002d5;p=occt-copy.git 0024263: TNaming_CopyShape::CopyTool failure Problem is not reproduced on current state of master. Test case bugs/caf/bug24263 was added. --- diff --git a/tests/bugs/caf/bug24263 b/tests/bugs/caf/bug24263 new file mode 100644 index 0000000000..88d98199d1 --- /dev/null +++ b/tests/bugs/caf/bug24263 @@ -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" +}