0026855: Draw commands to debug Boolean Operations Algorithm
[occt.git] / tests / bugs / xde / bug23911
CommitLineData
0cc44c47 1puts "============"
2puts "OCC23911"
3puts "============"
4puts ""
5#######################################################################
6# Invalid output of command Xdump
7#######################################################################
8
9XNewDoc D
10box b 1 1 1
11ttranslate b 1 0 0
12XAddShape D b
13
14set Log [Xdump D]
15
16set status 0
17
18if {[llength ${Log}] < 1} {
19 puts "Error: Invalid output of command Xdump"
20 set status 1
21}
22
5f07d05d 23if { [regexp "INSTANCE" ${Log}] != 1 } {
0cc44c47 24 puts "Error: Invalid output of command Xdump"
25 set status 1
26}
27
28if { [regexp "SOLID" ${Log}] != 1 } {
29 puts "Error: Invalid output of command Xdump"
30 set status 1
31}
32
33if { ${status} == 0 } {
34 puts "OK: Good output of command Xdump"
35}