Adding of testing cases from subgroups 937 940 and 941 of CHL group
[occt.git] / tests / bugs / moddata_1 / bug163
CommitLineData
0e94a94e 1
2puts "========"
3puts "OCC163"
4puts "========"
5puts ""
6###########################################################
7## The result of extrema command is not correct.
8## We have only two "max" extrema, but we should have "min" and "max".
9###########################################################
10
11restore [locate_data_file OCC130.brep] res
12
352ffd73 13checkshape res
0e94a94e 14
15line l -120 -100 400 0 0 1
16mksurface s res
17
18set che [extrema l s]
19set err [llength $che]
20if { $err < 2} {
21 puts "Error OCC163 (amount): command extrema does NOT work properly"
22}
23
24set dum1 [dump [lindex $che 0]]
25set dum2 [dump [lindex $che 1]]
26
27if { $dum1 == $dum2} {
28 puts "Error OCC163 (dump): command extrema does NOT work properly"
29}
30