Mercurial > hg > ltpda
comparison 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 |
comparison
equal
deleted
inserted
replaced
43:bc767aaa99a8 | 44:409a22968d5e |
---|---|
1 % GET_TEST_OBJECTS_SSM returns a set of SSMs suitable for many of the UTPs | |
2 % | |
3 % CALL: [sys1,sys2] = get_test_objects_ao(); | |
4 % | |
5 % OUTPUTS: | |
6 % sys1 - a numerical dampened mass-spring system | |
7 % sys2 - a symbolic dampened mass-spring system | |
8 % | |
9 % A Grynagier 25-02-09 | |
10 % | |
11 % $Id: get_test_objects_ssm.m,v 1.3 2010/12/22 16:08:32 ingo Exp $ | |
12 % | |
13 function [sys1 sys2] = get_test_objects_ssm | |
14 | |
15 sys1 = ssm(plist('built-in', 'LPF')); | |
16 sys2 = ssm(plist('built-in', 'DIST_TM', 'SYMBOLIC PARAMS', 'ALL')); | |
17 | |
18 %% SetSSM names. | |
19 % Don't remove the setting of the SSM names and it must be at the last position. | |
20 sys1.setName; | |
21 sys2.setName; | |
22 | |
23 end | |
24 |