Please send questions to
st10@humboldt.edu .
#include <iostream>
#include <cmath>
#include "abs_value.h"
using namespace std;
int main()
{
cout << boolalpha;
cout << endl;
cout << "testing abs_value: true's should mean passed: " << endl;
cout << "---------------------------------------" << endl;
cout << "(abs_value(-3) == 3): " << (abs_value(-3) == 3) << endl;
cout << "(abs_value(5) == 5): " << (abs_value(5) == 5) << endl;
cout << "(abs_value(0) == 0): " << (abs_value(0) == 0) << endl;
cout << endl;
return EXIT_SUCCESS;
}