/*------- Signature: main: void -> int Purpose: testing program for the function rect_area Examples: when this is run, the following should be printed to the screen: testing rect_area -- trues mean passed true true by: Sharon Tuttle last modified: 2016-11-01 --------*/ #include <cstdlib> #include <iostream> #include <string> #include <cmath> #include "rect_area.h" using namespace std; int main() { cout << boolalpha; cout << "testing rect_area -- trues mean passed" << endl; cout << (rect_area(3, 5) == 15) << endl; cout << (rect_area(1, 2) == 2) << endl; return EXIT_SUCCESS; }