0027691: Remove dchrono from all test cases and move its to perf group
[occt.git] / tests / perf / modalg / bug452_2
CommitLineData
a87752f3 1
2puts "========"
3puts "GER60239"
4puts "OCC452"
5puts "(case 2)"
6puts "========"
7puts ""
8
9restore [locate_data_file mds-part1.rle] a
10set che [checkshape a]
11if { [regexp {Faulty} $che ] == 1 } {
12 puts "Faulty OCC452 (shape 1): Source shape is invalid. It was detected by Checkshape command"
13} else {
14 puts "OCC452 OK (shape 1): Source shape is valid"
15}
16
17restore [locate_data_file mds-part2.rle] b
18set che [checkshape b]
19if { [regexp {Faulty} $che ] == 1 } {
20 puts "Faulty OCC452 (shape 2): Source shape is invalid. It was detected by Checkshape command"
21} else {
22 puts "OCC452 OK (shape 2): Source shape is valid"
23}
24
25restore [locate_data_file CTO900_ger60239a.rle] c
26set che [checkshape c]
27if { [regexp {Faulty} $che ] == 1 } {
28 puts "Faulty OCC452 (shape 3): Source shape is invalid. It was detected by Checkshape command"
29} else {
30 puts "OCC452 OK (shape 3): Source shape is valid"
31}
32
33restore [locate_data_file CTO900_ger60239b.rle] d
34set che [checkshape d]
35if { [regexp {Faulty} $che ] == 1 } {
36 puts "Faulty OCC452 (shape 4): Source shape is invalid. It was detected by Checkshape command"
37} else {
38 puts "OCC452 OK (shape 4): Source shape is valid"
39}
44fae8b1 40dchrono h2 restart
a87752f3 41
42bfuse r a b
43#checkshape r
44
45bfuse result c d
46
44fae8b1 47dchrono h2 stop counter bfuse
48
58cf74e0 49checkprops result -s 3468.6
50checkshape result
5747059b 51checkview -display result -2d -path ${imagedir}/${test_image}.png