/*-------
Signature: main: void -> int
Purpose: testing program for the function vertical
Examples: when this is run, the following should be printed
to the screen:
testing function vertical:
--------------------------
should see moo printed "vertically", then true:
m
o
o
true
should see oink printed "vertically", then true:
o
i
n
k
true
by: Sharon Tuttle
last modified: 2016-11-16
--------*/
#include <cstdlib>
#include <iostream>
#include <string>
#include <cmath>
#include "vertical.h"
using namespace std;
int main()
{
cout << boolalpha;
cout << endl;
cout << "testing function vertical:" << endl;
cout << "--------------------------" << endl;
cout << "should see moo printed \"vertically\", then true:"
<< endl;
cout << (vertical("moo") == 3) << endl;
cout << endl;
cout << "should see do printed \"vertically\", then true:"
<< endl;
cout << (vertical("do") == 2) << endl;
return EXIT_SUCCESS;
}