% TEST TEST Test Function
% 
% Usage
% 
% Tests for the argument array to be all logical 1s.  It is 
% completely equivalent to the all function applied to
% a vectorized form of the input.  The syntax for the test
% function is
% 
%    y = test(x)
% 
% and the result is equivalent to all(x(:)).
function y = test(x)
   y=all(x(:));

