% testMyMax.m test the function M-file myMax.m % P. Conrad for CISC106, sect 99, 09/25/2007 % Test function to find maximum of a vector % Uses helper function performEqualTest.m performEqualTest( myMax([2 3 5 2]), 5, '1'); performEqualTest( myMax([2 3 5 6]), 6, '2'); performEqualTest( myMax([7 3 5 6]), 7, '3'); % performEqualTest( myMax([]), [], '4'); % end testMyMax.m