#include <cstdlib>
#include <iostream>
#include <string>
#include <cmath>
#include "sum_ints.h"
using namespace std;
/*--------
signature: main: void -> int
purpose: testing program for the function sum_ints
examples: when run, this should output to the screen:
testing sum_ints: true's should mean passed:
---------------------------------------
...followed by each testing call, hopefully
followed by true to show it passed
by: funct_play
last modified: Tue Nov 8 14:05:11 PST 2016
--------*/
int main()
{
cout << boolalpha;
cout << endl;
cout << "testing sum_ints: true's should mean passed: " << endl;
cout << "---------------------------------------" << endl;
cout << "(sum_ints(4) == 10): "
<< (sum_ints(4) == 10) << endl;
cout << "(sum_ints(1) == 1): "
<< (sum_ints(1) == 1) << endl;
cout << "(sum_ints(0) == 0): "
<< (sum_ints(0) == 0) << endl;
cout << "(sum_ints(-34) == 0): "
<< (sum_ints(-34) == 0) << endl;
cout << endl;
return EXIT_SUCCESS;
}