comparison m-toolbox/classes/tests/ao/@test_ao_ao/test_copy.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 copy() method works for AOs.
2 function res = test_copy(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 utp.testData = a;
17
18 % Set the exceptions in the config plist
19 utp.configPlist = plist('Exceptions', {'UUID'});
20
21 % Call super
22 res = test_copy@ltpda_uoh_tests(utp);
23 end