Mercurial > hg > ltpda
comparison m-toolbox/classes/tests/ao/@test_ao_ao/test_save_load.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 % Test the save and load methods work for the AO class. | |
2 function res = test_save_load(varargin) | |
3 | |
4 utp = varargin{1}; | |
5 | |
6 % Make a complicated test AO | |
7 a = ao(plist('tsfcn', 't', 'fs', 1.3, 'nsecs', 10,... | |
8 'name', 'test ao', ... | |
9 'description', 'description of this ao', ... | |
10 'xunits', 'm', ... | |
11 'yunits', 'N')); | |
12 | |
13 a.setPlotinfo(plist('color', 'r')); | |
14 a.setProcinfo(plist('test', 123)); | |
15 | |
16 % set test data | |
17 utp.testData = a; | |
18 | |
19 % call super | |
20 res = test_save_load@ltpda_uoh_tests(utp); | |
21 | |
22 end |