comparison m-toolbox/test/test_plist_parse.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 %% Test 1
4
5 pl = plist('p1', '13', 'p2', 'p1/2 + p4', 'p3', 12, 'p4', 'p3+p1', 'p5', 'asd');
6 dpl = plist('p1', [], 'p2', [], 'p3', [], 'p4', []);
7 ppl = parse(pl, dpl);
8
9
10 %% Test 2
11
12 pl = plist('p1', '13', 'p2', 'p1/2 + p4', 'p3', 12, 'p4', 'p3+p1', 'p5', 'asd');
13 dpl = plist('p1', '', 'p2', [], 'p3', [], 'p4', []);
14 ppl = parse(pl, dpl);
15