#include <cstdlib>
#include <iostream>
#include <string>
#include <cmath>
#include "circ_area.h"
using namespace std;

/*--------
  signature: main: void -> int

  purpose: testing program for the function circ_area

  examples: when run, this should output to the screen:
testing circ_area: true's should mean passed:
---------------------------------------
...followed by each testing call, hopefully
   followed by true to show it passed

  by: funct_play
  last modified: Fri Oct 14 12:00:07 PDT 2016
--------*/

int main()
{
    cout << boolalpha;
    cout << endl;
    cout << "testing circ_area: true's should mean passed: " << endl;
    cout << "---------------------------------------" << endl;
    cout << "(circ_area(1) == 3.14159): " 
         << (circ_area(1) == 3.14159) << endl;
    cout << "(circ_area(10) == 314.159): " 
         << (circ_area(10) == 314.159) << endl;
    cout << endl;

    return EXIT_SUCCESS;
}