mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
Adding testing cases
This commit is contained in:
parent
295cec28fe
commit
5fa8d2a82b
11
tests/boolean/bopcommon_complex/M8
Executable file
11
tests/boolean/bopcommon_complex/M8
Executable 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.
|
||||||
|
|
||||||
|
|
||||||
|
|
10
tests/boolean/bopcommon_complex/M9
Executable file
10
tests/boolean/bopcommon_complex/M9
Executable 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
12
tests/boolean/bopcut_complex/P6
Executable 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
12
tests/boolean/bopcut_complex/P7
Executable 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.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
12
tests/boolean/bopfuse_complex/O5
Executable file
12
tests/boolean/bopfuse_complex/O5
Executable 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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
12
tests/boolean/bopfuse_complex/O6
Executable file
12
tests/boolean/bopfuse_complex/O6
Executable 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
12
tests/boolean/boptuc_complex/I3
Executable 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
11
tests/boolean/boptuc_complex/I4
Executable 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.
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user