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

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

  purpose: testing program for the function is_empty

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

  by: funct_play
  last modified: Tue Oct 25 13:32:48 PDT 2016
--------*/

int main()
{
    cout << boolalpha;
    cout << endl;
    cout << "testing is_empty: true's should mean passed: " << endl;
    cout << "---------------------------------------" << endl;
    cout << "(is_empty(\"\") == true): " 
         << (is_empty("") == true) << endl;
    cout << "(is_empty(\"m\") == false): " 
         << (is_empty("m") == false) << endl;
    cout << "(is_empty(\"moo\") == false): " 
         << (is_empty("moo") == false) << endl;
    cout << endl;

    return EXIT_SUCCESS;
}