7 using namespace command;
9 #define STRING "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
11 class TestParameter : public Parameter {
13 TestParameter(std::string description) : Parameter(description) { }
15 virtual void handle() { }
16 virtual bool understand(std::string argVal) { }
20 TestParameter parameter(STRING);
22 int cmp = strcmp(parameter.describe().c_str(), STRING);
25 cout << "Parameter class is descriptive\n";
29 cout << "Parameter class changes provided description so is not descriptive\n";