/*------- Signature: main: void -> int Purpose: testing program for the function say_sound2 Examples: This should print the following to the screen: Testing say_sound2: ------------------- SHOULD see that the cow says oink, followed by true: The cow says, "oink". true SHOULD see that the raccoon says screech, followed by true: The raccoon says, "screech". true by: Sharon Tuttle last modified: 2016-11-04 --------*/ #include <cstdlib> #include <iostream> #include <string> #include <cmath> #include "say_sound2.h" using namespace std; int main() { cout << boolalpha; cout << "Testing say_sound2:" << endl; cout << "-------------------" << endl; cout << "SHOULD see that the cow says oink, followed by true:" << endl; cout << (say_sound2("cow", "oink") == 4) << endl; cout << endl; cout << "SHOULD see that the raccoon says screech, followed by true:" << endl; cout << (say_sound2("raccoon", "screech") == 7) << endl; return EXIT_SUCCESS; }