mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
0025423: Incorrect result of splitting some shapes
Adding testing case
This commit is contained in:
parent
15b9dfc95d
commit
7b3aef359f
28
tests/bugs/modalg_6/bug25423_1
Normal file
28
tests/bugs/modalg_6/bug25423_1
Normal file
@ -0,0 +1,28 @@
|
||||
puts "============"
|
||||
puts "OCC25423"
|
||||
puts "============"
|
||||
puts ""
|
||||
######################################################
|
||||
# Incorrect result of splitting some shapes. Case 1
|
||||
######################################################
|
||||
|
||||
restore [locate_data_file bug25423a.brep] f
|
||||
|
||||
restore [locate_data_file bug25423b.brep] e
|
||||
|
||||
checkshape f
|
||||
|
||||
checkshape e
|
||||
|
||||
splitshape result f f e
|
||||
|
||||
checkshape result
|
||||
|
||||
maxtolerance result
|
||||
|
||||
|
||||
checknbshapes result -face 2
|
||||
|
||||
checkprops result -s 16.918
|
||||
|
||||
checkview -display result -2d -path ${imagedir}/${test_image}.png
|
28
tests/bugs/modalg_6/bug25423_2
Normal file
28
tests/bugs/modalg_6/bug25423_2
Normal file
@ -0,0 +1,28 @@
|
||||
puts "============"
|
||||
puts "OCC25423"
|
||||
puts "============"
|
||||
puts ""
|
||||
######################################################
|
||||
# Incorrect result of splitting some shapes. Case 2
|
||||
######################################################
|
||||
|
||||
restore [locate_data_file bug25423c.brep] f
|
||||
|
||||
restore [locate_data_file bug25423d.brep] e
|
||||
|
||||
checkshape f
|
||||
|
||||
checkshape e
|
||||
|
||||
splitshape result f f e
|
||||
|
||||
checkshape result
|
||||
|
||||
maxtolerance result
|
||||
|
||||
|
||||
checknbshapes result -face 2
|
||||
|
||||
checkprops result -s 5.6486
|
||||
|
||||
checkview -display result -2d -path ${imagedir}/${test_image}.png
|
Loading…
x
Reference in New Issue
Block a user