diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/m-toolbox/test/test_plist_parse.m	Wed Nov 23 19:22:13 2011 +0100
@@ -0,0 +1,15 @@
+mc
+
+%% Test 1
+
+pl = plist('p1', '13', 'p2', 'p1/2 + p4', 'p3', 12, 'p4', 'p3+p1', 'p5', 'asd');
+dpl = plist('p1', [], 'p2', [], 'p3', [], 'p4', []);
+ppl = parse(pl, dpl);
+
+
+%% Test 2
+
+pl = plist('p1', '13', 'p2', 'p1/2 + p4', 'p3', 12, 'p4', 'p3+p1', 'p5', 'asd');
+dpl = plist('p1', '', 'p2', [], 'p3', [], 'p4', []);
+ppl = parse(pl, dpl);
+