Mercurial > hg > ltpda
view testing/utp_1.1/utp_fcns/get_test_objects_ssm.m @ 51:9d5c88356247 database-connection-manager
Make unit tests database connection parameters configurable
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Wed, 07 Dec 2011 17:24:37 +0100 |
parents | 409a22968d5e |
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