0031304: Configuration - TKACIS building failure due to duplicated symbol GeomFillFus...
[occt.git] / tests / bugs / moddata_2 / bug515
CommitLineData
352ffd73 1puts "========"
2puts "OCC515"
3puts "========"
4puts ""
5################################
6## Wrong projection of the Line on the Cone
7################################
8
9restore [locate_data_file OCC515a.draw] cx
10restore [locate_data_file OCC515b.draw] s
11
12if { [catch {project c2d cx s -t 0.0015} ] } {
13 puts "OCC515 FAULTY"
14} else {
15 # create dump of resulting curve
16 set dump [dump c2d]
17 # read dump of old curve
18 set olddump [read [open [locate_data_file OCC515_DUMP]]]
19 # if the the dumps is equal this bug is still exist
20 if { $dump == $olddump } {
21 puts "OCC515 FAULTY"
22 } else {
23 puts "OCC515 WARNING: Dumps of old and new curve are different, probably bug is still exist"
24 }
25}
26
27