Mercurial > hg > ltpda
annotate m-toolbox/classes/tests/@ltpda_uoh_tests/test_plotinfo.m @ 0:f0afece42f48
Import.
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Wed, 23 Nov 2011 19:22:13 +0100 |
parents | |
children |
rev | line source |
---|---|
0 | 1 % Test the plotinfo is [] by default. |
2 function res = test_plotinfo(varargin) | |
3 | |
4 res = ''; | |
5 utp = varargin{1}; | |
6 | |
7 if ~isempty(utp.className) | |
8 obj = feval(utp.className); | |
9 assert(isnumeric(obj.plotinfo)); | |
10 assert(isempty(obj.plotinfo)); | |
11 res = sprintf('%s has a valid plotinfo', class(obj)); | |
12 end | |
13 | |
14 end |