Mercurial > hg > ltpda
annotate m-toolbox/classes/tests/@ltpda_obj_tests/test_display.m @ 43:bc767aaa99a8
CVS Update
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Tue, 06 Dec 2011 11:09:25 +0100 |
parents | f0afece42f48 |
children |
rev | line source |
---|---|
0 | 1 % Test the display() method returns a non-empty string. |
2 function res = test_display(varargin) | |
3 | |
4 utp = varargin{1}; | |
5 | |
6 % get test data | |
7 data = utp.getTestData; | |
8 for kk=1:numel(data) | |
9 d = data(kk); | |
10 txt = display(d); | |
11 assert(iscell(txt)); | |
12 assert(~isempty(txt)); | |
13 end | |
14 res = sprintf('%s/char seems to work', class(data)); | |
15 | |
16 end |