Clipper
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
clipper::Test_base Class Reference

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

#include <clipper_test.h>

Inheritance diagram for clipper::Test_base:
clipper::Test_core

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: