comparison m-toolbox/test/test_collection_history.m @ 0:f0afece42f48

Import.
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Wed, 23 Nov 2011 19:22:13 +0100
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:f0afece42f48
1 mc
2
3 c = collection
4
5 a = ao(1) + ao(2)
6
7 c.addObjects(a);
8
9 c.addObjects(pzmodel(1,10,100), mfir)
10
11 type(c)
12
13
14 cr = c.rebuild
15
16 eq(c, cr, 'proctime', 'created', 'UUID', 'methodInvars', 'name')
17
18
19 %%
20 c = collection
21
22 a = ao(1) + ao(2)
23
24 c.addObjects(plist('objs', a));
25
26 c.addObjects(plist('objs', {pzmodel(1,10,100), mfir}))
27
28 c.addObjects(plist('objs', {mfir, [ao(1) ao(2)]}))
29
30 type(c)
31
32
33 cr = c.rebuild
34
35 eq(c, cr, 'proctime', 'created', 'UUID', 'methodInvars', 'name')
36