Simpatico
v1.10
|
Trivial UnitTest B.
Definition at line 60 of file example2.cpp.
Additional Inherited Members | |
![]() | |
UnitTest () | |
Constructor. More... | |
virtual | ~UnitTest () |
Destructor. More... | |
virtual void | setUp () |
Set up before each test method (empty default implementation). More... | |
virtual void | tearDown () |
Tear down after each test method (empty default implementation). More... | |
void | setVerbose (int verbose) |
Set verbosity level. More... | |
void | setFilePrefix (const std::string &prefix) |
Set file prefix. More... | |
const std::string & | filePrefix () |
Get file prefix string. More... | |
bool | isIoProcessor () const |
Should this processor read and write to file? More... | |
![]() | |
void | printMethod (const char *methodName) |
Write name of a class method, iff ioProcessor. More... | |
void | printEndl () |
Write carriage return, iff isIoProcessor. More... | |
virtual void | endMarker () |
Print a line of hashes, iff isIoProcessor. More... | |
void | openInputFile (const std::string &name, std::ifstream &in) const |
Open C++ input file ifstream. More... | |
void | openOutputFile (const std::string &name, std::ofstream &out) const |
Open C++ output file ofstream. More... | |
FILE * | openFile (const std::string &name, const char *mode) const |
Open C file handle with specified mode. More... | |
int | verbose () const |
Return integer verbosity level (0 == silent). More... | |
![]() | |
static bool | eq (int s1, int s2) |
Return true if two integers are equal. More... | |
static bool | eq (double s1, double s2) |
Return true if two double precision floats are equal. More... | |