You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#include <iostream> |
|
#include <cmMod.hpp> |
|
|
|
using namespace std; |
|
|
|
#define EXPECTED "Hello World compDef 42" |
|
|
|
int main(void) { |
|
cmModClass obj("Hello"); |
|
cout << obj.getStr() << endl; |
|
if (obj.getStr() != EXPECTED) { |
|
cerr << "Expected: '" << EXPECTED << "'" << endl; |
|
return 1; |
|
} |
|
return 0; |
|
}
|
|
|