% test2IsOdd.m   a better regression test for isOdd.m
% P. Conrad for CISC106, sect 99, 09/25/2007
% This version uses the performEqualTest.m function to simplify testing

% Test function to determine whether number is odd or not

performEqualTest(isOdd(2),false,'1');
performEqualTest(isOdd(7),true,'2');
performEqualTest(isOdd(-7),true,'3');
performEqualTest(isOdd(-2),false,'4');
performEqualTest(isOdd(0),false,'5');


