Mercurial > hg > ltpda
view testing/utp_1.1/utps/ssm/utp_ssm_model_IFO.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
% UTP_SSM_MODEL_IFO a set of UTPs for the IFO SSM built-in model. % % M Hewitson 26-07-10 % % $Id: utp_ssm_model_IFO.m,v 1.1 2010/07/26 16:42:29 hewitson Exp $ % % <MethodDescription> % % The built-in model 'IFO' represents different incarnations of the % interferometric sensing for LTP. % % </MethodDescription> function results = utp_ssm_model_IFO(varargin) % Check the inputs if nargin == 0 % Some keywords class = 'ssm'; model = 'IFO'; results = []; disp('******************************************************'); disp(['**** Running UTPs for ' class '/' model]); disp('******************************************************'); % Run the tests results = [results utp_901(class, model, plist)]; % check model name results = [results utp_902(class, model, plist)]; % check model description results = [results utp_903(class, model, plist)]; % check model responds to 'DIM' disp('Done.'); disp('******************************************************'); elseif nargin == 1 % Check for UTP functions if strcmp(varargin{1}, 'isutp') results = 1; else results = 0; end else error('### Incorrect inputs') end end