Public Member Functions | Protected Member Functions | Protected Attributes
clipper::Test_base Class Reference

Base class for clipper self-test classes. More...

#include <clipper_test.h>

Inheritance diagram for clipper::Test_base:

List of all members.

Public Member Functions

void set_stream (std::ostream &stream)

Protected Member Functions

bool test (const String &id, const double &value)
 test that the next value matches the stored data
bool test (const String &id, const double &value, const double &val, const double &tol)
bool test (const String &id, const int &value, const int &val)

Protected Attributes

std::ostream * stream_
std::vector< float > data_val
std::vector< float > data_tol
int count
int error_count

Detailed Description

Base class for clipper self-test classes.

Override this class with test classes for each clipper package.

The documentation for this class was generated from the following files: