Mercurial > hg > ltpda
annotate m-toolbox/classes/tests/@ltpda_obj_tests/test_display.m @ 1:2014ba5b353a database-connection-manager
Remove old code
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Sat, 03 Dec 2011 18:13:55 +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 |