view m-toolbox/classes/tests/ao/@test_ao_ao/test_save_load.m @ 12:86aabb42dd84 database-connection-manager

Use utils.repository utilities
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Mon, 05 Dec 2011 16:20:06 +0100
parents f0afece42f48
children
line wrap: on
line source

% Test the save and load methods work for the AO class.
function res = test_save_load(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));
  
  % set test data
  utp.testData = a;
  
  % call super
  res = test_save_load@ltpda_uoh_tests(utp);
    
end