From 5fa8d2a82bfb48483ebea7571f69fc41a2daac08 Mon Sep 17 00:00:00 2001 From: apn Date: Thu, 11 Oct 2012 16:03:49 +0400 Subject: [PATCH] Adding testing cases --- tests/boolean/bopcommon_complex/M8 | 11 +++++++++++ tests/boolean/bopcommon_complex/M9 | 10 ++++++++++ tests/boolean/bopcut_complex/P6 | 12 ++++++++++++ tests/boolean/bopcut_complex/P7 | 12 ++++++++++++ tests/boolean/bopfuse_complex/O5 | 12 ++++++++++++ tests/boolean/bopfuse_complex/O6 | 12 ++++++++++++ tests/boolean/boptuc_complex/I3 | 12 ++++++++++++ tests/boolean/boptuc_complex/I4 | 11 +++++++++++ 8 files changed, 92 insertions(+) create mode 100755 tests/boolean/bopcommon_complex/M8 create mode 100755 tests/boolean/bopcommon_complex/M9 create mode 100755 tests/boolean/bopcut_complex/P6 create mode 100755 tests/boolean/bopcut_complex/P7 create mode 100755 tests/boolean/bopfuse_complex/O5 create mode 100755 tests/boolean/bopfuse_complex/O6 create mode 100755 tests/boolean/boptuc_complex/I3 create mode 100755 tests/boolean/boptuc_complex/I4 diff --git a/tests/boolean/bopcommon_complex/M8 b/tests/boolean/bopcommon_complex/M8 new file mode 100755 index 0000000000..9afe81e5e1 --- /dev/null +++ b/tests/boolean/bopcommon_complex/M8 @@ -0,0 +1,11 @@ +puts "OCC23270: Wrong result done by boolean operation algorithm for cylinder and torus" + +restore [locate_data_file OCC23270-Cylinder_1.brep] b1 +restore [locate_data_file OCC23270-Torus_1.brep] b2 +bop b2 b1 +bopcommon result + +set square 210232. + + + diff --git a/tests/boolean/bopcommon_complex/M9 b/tests/boolean/bopcommon_complex/M9 new file mode 100755 index 0000000000..458e22110a --- /dev/null +++ b/tests/boolean/bopcommon_complex/M9 @@ -0,0 +1,10 @@ +puts "OCC23270: Wrong result done by boolean operation algorithm for cylinder and torus" + +restore [locate_data_file OCC23270-Cylinder_1.brep] b1 +restore [locate_data_file OCC23270-Torus_1.brep] b2 +bop b1 b2 +bopcommon result + +set square 210232. + + diff --git a/tests/boolean/bopcut_complex/P6 b/tests/boolean/bopcut_complex/P6 new file mode 100755 index 0000000000..e6689abb71 --- /dev/null +++ b/tests/boolean/bopcut_complex/P6 @@ -0,0 +1,12 @@ +puts "OCC23270: Wrong result done by boolean operation algorithm for cylinder and torus" + +restore [locate_data_file OCC23270-Cylinder_1.brep] b1 +restore [locate_data_file OCC23270-Torus_1.brep] b2 +bop b1 b2 +bopcut result + +set square 421204. + + + + diff --git a/tests/boolean/bopcut_complex/P7 b/tests/boolean/bopcut_complex/P7 new file mode 100755 index 0000000000..c76cda8630 --- /dev/null +++ b/tests/boolean/bopcut_complex/P7 @@ -0,0 +1,12 @@ +puts "OCC23270: Wrong result done by boolean operation algorithm for cylinder and torus" + +restore [locate_data_file OCC23270-Cylinder_1.brep] b1 +restore [locate_data_file OCC23270-Torus_1.brep] b2 +bop b2 b1 +bopcommon result + +set square 210232. + + + + diff --git a/tests/boolean/bopfuse_complex/O5 b/tests/boolean/bopfuse_complex/O5 new file mode 100755 index 0000000000..bfbda464b4 --- /dev/null +++ b/tests/boolean/bopfuse_complex/O5 @@ -0,0 +1,12 @@ +puts "OCC23270: Wrong result done by boolean operation algorithm for cylinder and torus" + +restore [locate_data_file OCC23270-Cylinder_1.brep] b1 +restore [locate_data_file OCC23270-Torus_1.brep] b2 +bop b1 b2 +bopfuse result + +set square 1.41394e+06 + + + + diff --git a/tests/boolean/bopfuse_complex/O6 b/tests/boolean/bopfuse_complex/O6 new file mode 100755 index 0000000000..c241178b2d --- /dev/null +++ b/tests/boolean/bopfuse_complex/O6 @@ -0,0 +1,12 @@ +puts "OCC23270: Wrong result done by boolean operation algorithm for cylinder and torus" + +restore [locate_data_file OCC23270-Cylinder_1.brep] b1 +restore [locate_data_file OCC23270-Torus_1.brep] b2 +bop b2 b1 +bopfuse result + +set square 1.41394e+06 + + + + diff --git a/tests/boolean/boptuc_complex/I3 b/tests/boolean/boptuc_complex/I3 new file mode 100755 index 0000000000..2b68b0b566 --- /dev/null +++ b/tests/boolean/boptuc_complex/I3 @@ -0,0 +1,12 @@ +puts "OCC23270: Wrong result done by boolean operation algorithm for cylinder and torus" + +restore [locate_data_file OCC23270-Cylinder_1.brep] b1 +restore [locate_data_file OCC23270-Torus_1.brep] b2 +bop b1 b2 +boptuc result + +set square 1.20297e+06 + + + + diff --git a/tests/boolean/boptuc_complex/I4 b/tests/boolean/boptuc_complex/I4 new file mode 100755 index 0000000000..d2315eb784 --- /dev/null +++ b/tests/boolean/boptuc_complex/I4 @@ -0,0 +1,11 @@ +puts "OCC23270: Wrong result done by boolean operation algorithm for cylinder and torus" + +restore [locate_data_file OCC23270-Cylinder_1.brep] b1 +restore [locate_data_file OCC23270-Torus_1.brep] b2 +bop b2 b1 +boptuc result + +set square 421204. + + +