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

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

  purpose: testing program for the function name_length

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

int main()
{
    cout << boolalpha;
    cout << endl;
    cout << "testing name_length: true's should mean passed: " << endl;
    cout << "---------------------------------------" << endl;
    cout << "(name_length(\"Justin\", \"Savage\") == 12): " 
         << (name_length("Justin", "Savage") == 12) << endl;
    cout << "(name_length(\"Sharon\", \"Williams\") == 14): " 
         << (name_length("Sharon", "Williams") == 14) << endl;
    cout << endl;

    return EXIT_SUCCESS;
}