0025138: SIGSEGV when sweeping along helix
[occt.git] / tests / bugs / caf / bug25112
CommitLineData
6d1dc3e8 1puts "==========="
2puts "OCC25112"
3puts "==========="
4puts ""
5###########################################################################
6# Undo of modification of the attribute TDataStd_IntPackedMap works wrong
7###########################################################################
8
9NewDocument D
10UndoLimit D 10
11SetIntPackedMap D 0:1 1 319
12puts "initial: [GetIntPackedMap D 0:1]"
13
14OpenCommand D
15ChangeIntPackedMap_Add D 0:1 344
16ChangeIntPackedMap_Rem D 0:1 319
17CommitCommand D
18puts "after changes: [GetIntPackedMap D 0:1]"
19
20Undo D
21
22set map [GetIntPackedMap D 0:1]
23puts "after undo: $map"
24
25if {$map != "319"} {
26 puts "ERROR: OCC25112 is reproduced. Expected map content is 319"
27}