From 8da5fb19a97226b53b0c23176bd3d1a542d002d5 Mon Sep 17 00:00:00 2001 From: apn Date: Mon, 21 Oct 2013 17:20:07 +0400 Subject: [PATCH] 0024263: TNaming_CopyShape::CopyTool failure Problem is not reproduced on current state of master. Test case bugs/caf/bug24263 was added. --- tests/bugs/caf/bug24263 | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 tests/bugs/caf/bug24263 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" +}