Please send questions to
st10@humboldt.edu .
#include <iostream>
#include <cmath>
#include "spiciness_level.h"
using namespace std;
int main()
{
cout << boolalpha;
cout << endl;
cout << "testing spiciness_level: true's should mean passed: " << endl;
cout << "---------------------------------------" << endl;
cout << "(spiciness_level(1) == \"infant\"): " << (spiciness_level(1) == "infant") << endl;
cout << "(spiciness_level(1 + INFANT_MAX) == \"toddler\"): " << (spiciness_level(1 + INFANT_MAX) == "toddler") << endl;
cout << "(spiciness_level(10000) == \"adult\"): " << (spiciness_level(10000) == "adult") << endl;
cout << "(spiciness_level(INFANT_MAX) == \"toddler\"): "
<< (spiciness_level(INFANT_MAX) == "toddler") << endl;
cout << "(spiciness_level(TODDLER_MAX) == \"adult\"): "
<< (spiciness_level(TODDLER_MAX) == "adult") << endl;
cout << endl;
return EXIT_SUCCESS;
}