view m-toolbox/test/test_plist_parse.m @ 52:daf4eab1a51e
database-connection-manager tip
Fix. Default password should be [] not an empty string
author |
Daniele Nicolodi <nicolodi@science.unitn.it> |
date |
Wed, 07 Dec 2011 17:29:47 +0100 (2011-12-07) |
parents |
f0afece42f48 |
children |
|
line source
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);