0002793: BinOcaf: low performance saving documents with large attributes
[occt.git] / tests / bugs / caf / bug387
CommitLineData
a87752f3 1puts "==========="
2puts "OCC387"
3puts "SAM1452"
4puts "==========="
5
6NewDocument D MDTV-Standard
7UndoLimit D 10
8NewCommand D
9SetVariable D 0:1 0 a
10SetRelation D 0:1 a=10 0:1
11SetReal D 0:1 10
12
13NewCommand D
14SetRelation D 0:1 a=20 0:1
15SetReal D 0:1 20
16NewCommand D
17Undo D
18set Res [DumpRelation D 0:1]
19
20if { [regexp "a=20" $Res] == 1 } {
21 puts "OCC387: Error "
22}
23