% testDoesXAppearInV.m   test the function M-file doesXAppearInV.m
% P. Conrad for CISC106, sect 99, 12/11/2007

% Test function to find maximum of a vector

performEqualTest( doesXAppearInV(3,[3 4 5]), 1, '1');
performEqualTest( doesXAppearInV(7,[3 4 5]), 0, '2');
performEqualTest( doesXAppearInV(5,[3 4 5]), 1, '3');
performEqualTest( doesXAppearInV(3,[3]), 1, '4');
performEqualTest( doesXAppearInV(3,[]), 0, '5');


% end testDoesXAppearInV.m
