1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00

Adding test cases

This commit is contained in:
apn 2012-10-10 13:48:57 +04:00
parent 2818ac8a04
commit d7a449a418
8 changed files with 92 additions and 0 deletions

View File

@ -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.

View File

@ -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.

12
tests/boolean/bopcut_complex/P6 Executable file
View File

@ -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.

12
tests/boolean/bopcut_complex/P7 Executable file
View File

@ -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.

View File

@ -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

View File

@ -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

12
tests/boolean/boptuc_complex/I3 Executable file
View File

@ -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

11
tests/boolean/boptuc_complex/I4 Executable file
View File

@ -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.