1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-29 14:00:49 +03:00

Update of tests database

Test for 0021134: checkshape command does not return faulty shapes.
Test for 0021494: Intersection between cone and sphere fails
Test for 0022642: Refactoring of ShapeFix_Wire::FixIntersectingEdges
Test for 0022732: Reading a STEP file produces invalid shape
This commit is contained in:
apv
2017-10-12 10:57:25 +03:00
committed by bugmaster
parent 7f83633f7e
commit dfc3f102e6
4 changed files with 68 additions and 0 deletions

18
tests/bugs/modalg_7/bug21134 Executable file
View File

@@ -0,0 +1,18 @@
puts "TODO OCC21134 ALL: Error: checkshape command does not return faulty shapes"
puts "============"
puts "OCC21134"
puts "============"
puts ""
######################################################
# checkshape command does not return faulty shapes.
######################################################
restore [locate_data_file bug21134_r.brep] res
checkshape res
set Log [bopcheck res]
if {[regexp "This shape seems to be OK" ${Log}] != 1} {
puts "Error: checkshape command does not return faulty shapes."
}

View File

@@ -0,0 +1,22 @@
puts "TODO OCC21494 ALL: Error: Intersection between cone and sphere fails"
puts "========"
puts "OCC21494"
puts "========"
puts ""
############################################
# Intersection between cone and sphere fails
############################################
pcone c 15 0 10
psphere s 10
explode c f
explode s f
mksurface sc c_1
mksurface ss s_1
intersect i sc ss
if { [info exist i_1] == 0 } {
puts "Error: Intersection between cone and sphere fails"
}