5 #############################################
6 # Wrong processing of subshapes in ShapeTool
7 #############################################
10 # create test document
20 # b_1 b_2 b_3 b_4 b_5 b_6
21 XAddSubShape D b_1 0:1:1:1
23 XAddSubShape D b_1 0:1:1:2
27 set first_find1 [XFindSubShape D b_1 0:1:1:1]
28 if {$first_find1 != "0:1:1:1:1"} {
29 puts "Error: wrong subshape is found"
31 set first_find2 [XFindSubShape D b_1 0:1:1:2]
32 if {$first_find2 != "0:1:1:2:1"} {
33 puts "Error: wrong subshape is found"
36 # FindSubShape check#2
38 set second_find1 [XFindSubShape D b_1 0:1:1:1]
39 if {$second_find1 != ""} {
40 puts "Error: wrong subshape is found"
42 set second_find2 [XFindSubShape D b_1 0:1:1:2]
43 if {$second_find2 != "0:1:1:2:1"} {
44 puts "Error: wrong subshape is found"