FreePOOMA  2.4.1
Classes | Namespaces
Tester.h File Reference

A simple class with some utility methods used to write test programs. More...

#include "Utilities/Inform.h"
#include "Utilities/PAssert.h"
#include <cstdlib>
#include <cmath>
Include dependency graph for Tester.h:
This graph shows which files directly or indirectly include this file:

Classes

class  Pooma::Tester
 Tester is used to help make it easier to write simple test programs. More...

Namespaces

namespace  Pooma

Detailed Description

A simple class with some utility methods used to write test programs.

It includes an Inform class used to print messages and results, a method to update an 'OK' boolean variable about whether the test is working correctly, and the ability to search for a few common command-line arguments to control how the test program should function. In POOMA test codes, Tester object should be created at the beginning, after initializing POOMA. It can be destroyed after finalizing POOMA.