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

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

  purpose: testing program for the function silly_length

  examples: when run, this should output to the screen:
testing silly_length: 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:57:59 PDT 2016
--------*/

int main()
{
    cout << boolalpha;
    cout << endl;
    cout << "testing silly_length: true's should mean passed: " << endl;
    cout << "---------------------------------------" << endl;
    cout << "(silly_length(\"\") == 0): " 
         << (silly_length("") == 0) << endl;
    cout << "(silly_length(\"clown\") == 5): " 
         << (silly_length("clown") == 5) << endl;
    cout << "(silly_length(\"t\") == 1): " 
         << (silly_length("t") == 1) << endl;
    cout << endl;

    return EXIT_SUCCESS;
}