diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/m-toolbox/classes/tests/ao/@test_ao_ao/test_copy.m	Wed Nov 23 19:22:13 2011 +0100
@@ -0,0 +1,23 @@
+% Test the copy() method works for AOs.
+function res = test_copy(varargin)
+  
+  utp = varargin{1};
+  
+  % Make a complicated test AO
+  a = ao(plist('tsfcn', 't', 'fs', 1.3, 'nsecs', 10,...
+    'name', 'test ao', ...
+    'description', 'description of this ao', ...
+    'xunits', 'm', ...
+    'yunits', 'N'));
+    
+  a.setPlotinfo(plist('color', 'r'));
+  a.setProcinfo(plist('test', 123));
+
+  utp.testData = a;
+  
+  % Set the exceptions in the config plist
+  utp.configPlist = plist('Exceptions', {'UUID'});
+
+  % Call super
+  res = test_copy@ltpda_uoh_tests(utp);
+end
\ No newline at end of file