comparison testing/utp_1.1/utp_fcns/isEmptyCell.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 % ISEMPTYCHAR returns true if the input is an empty char cell.
2 %
3 % CALL: res = isEmptyChar(val)
4 %
5 % OUTPUTS: true, flase
6 %
7 % VERSION: $Id: isEmptyCell.m,v 1.1 2011/04/11 19:42:27 ingo Exp $
8 %
9 function res = isEmptyCell(val)
10
11 res = iscell(val) && isempty(val);
12
13 end