%someFcn(number, number) -> number
%Authors: Mary Student and John Otherstudent
%CISC106 Lab Section 45 TA: Paul McCartney
%Description:
%    This function takes the count of spam and the degree of spam, performs
%    computationa and returns the result as a number.
function result = sumThreeNumsTest()
result = true;

if (sumThreeNums(3,4,5) ~= (12))
  disp('error calculating sumThreeNums(3,4,5)');
  result = false;
elseif (sumThreeNums(10,-234,9786) ~= 9582)
  disp('error calculating sumThreeNums(10,-234,9786)');
  result = false;
elseif (sumThreeNums(-300,0,-3000) ~= -3300)
  disp('error calculating sumThreeNums(-300,0,-3000)');
  result = false;
else
  disp('sumThreeNums function passed');
end
