% testYetAnotherMax.m   test the function M-file yetAnotherMax.m
% P. Conrad for CISC106, sect 99, 10/22/2007

% Test function to find maximum of a vector
% Uses helper function performEqualTest.m

performEqualTest( yetAnotherMax([2 3 5 2]), 5, '1');
performEqualTest( yetAnotherMax([2 3 6 2 5 6]), 6, '2');
performEqualTest( yetAnotherMax([7 3 5 6]), 7, '3');
% performEqualTest( yetAnotherMax([]), [], '4');


% end testYetAnotherMax.m
