view testing/utp_1.1/utp_fcns/get_test_objects_ssm.m @ 44:409a22968d5e default

Add unit tests
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Tue, 06 Dec 2011 18:42:11 +0100
parents
children
line wrap: on
line source

% GET_TEST_OBJECTS_SSM returns a set of SSMs suitable for many of the UTPs
%
% CALL:   [sys1,sys2] = get_test_objects_ao();
%
% OUTPUTS:
%         sys1   - a numerical dampened mass-spring system  
%         sys2   - a symbolic dampened mass-spring system  
%
% A Grynagier 25-02-09
%
% $Id: get_test_objects_ssm.m,v 1.3 2010/12/22 16:08:32 ingo Exp $
%
function [sys1 sys2] = get_test_objects_ssm

  sys1 = ssm(plist('built-in', 'LPF'));
  sys2 = ssm(plist('built-in', 'DIST_TM', 'SYMBOLIC PARAMS', 'ALL'));

  %% SetSSM names.
  %  Don't remove the setting of the SSM names and it must be at the last position.
  sys1.setName;
  sys2.setName;

end