view testing/utp_1.1/utp_fcns/isEmptyChar.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
line wrap: on
line source

% ISEMPTYCHAR returns true if the input is an empty char ''.
%
% CALL:    res = isEmptyChar(val)
%
% OUTPUTS: true, flase
%
% VERSION: $Id: isEmptyChar.m,v 1.1 2009/07/20 15:13:38 ingo Exp $
%
function res = isEmptyChar(val)
  
  res = ischar(val) && isempty(val);
  
end