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

% Test function that removes negatives from a vector
% Uses helper function performEqualTest.m

performEqualTest( removeNegatives([2 -1 3 0 5 -7 2]), [2 3 0 5 2], '1');
performEqualTest( removeNegatives([2 3 5 6]), [2 3 5 6], '2');
performEqualTest( removeNegatives([-2 -3 -1]), [], '3');
performEqualTest( removeNegatives([]), [], '4');


% end testRemoveNegatives.m
