#include <cstdlib> #include <iostream> #include <string> #include <cmath> #include "play_around.h" using namespace std; /*-------- signature: main: void -> int purpose: testing program for the function play_around examples: when run, this should output to the screen: testing play_around: true's should mean passed: --------------------------------------- ...followed by each testing call, hopefully followed by true to show it passed by: funct_play last modified: Thu Oct 27 13:39:31 PDT 2016 --------*/ int main() { cout << boolalpha; cout << endl; cout << "testing play_around: true's should mean passed: " << endl; cout << "---------------------------------------" << endl; cout << "(play_around(3) == 3): " << (play_around(3) == 3) << endl; cout << "(..and print to the screen a bunch of junk): " << endl; cout << "(play_around(4) == 4): " << (play_around(4) == 4) << endl; cout << "(...and print to the screen a bunch of junk): " << endl; cout << endl; return EXIT_SUCCESS; }