Generated on Mon Aug 25 11:35:54 2008 for Gecode by doxygen 1.5.6

Test::Base Class Reference
[General test support]

#include <test.hh>

Inherited by Test::Assign::BoolTest, Test::Assign::IntTest, Test::Branch::BoolTest, Test::Branch::CpltSetTest, Test::Branch::IntTest, Test::Branch::SetTest, Test::CpltSet::CpltSetTest, Test::Int::Distinct::Pathological, Test::Int::Test, Test::Search::Test, and Test::Set::SetTest.

List of all members.


Detailed Description

Base class for all tests to be run.

Definition at line 127 of file test.hh.


Public Member Functions

 Base (const std::string &s)
 Create and register test with name s.
const std::string & name (void) const
 Return name of test.
Basenext (void) const
 Return next test.
virtual bool run (void)=0
 Run test.
virtual ~Base (void)
 Destructor.

Static Public Member Functions

static Basetests (void)
 Return all tests.
static bool fixpoint (void)
 Throw a coin whether to compute a fixpoint.

Static Public Attributes

static
Gecode::Support::RandomGenerator 
rand = Gecode::Support::RandomGenerator()
 Random number generator.

Constructor & Destructor Documentation

Test::Base::Base ( const std::string &  s  ) 

Create and register test with name s.

Definition at line 71 of file test.cc.

Test::Base::~Base ( void   )  [virtual]

Destructor.

Definition at line 94 of file test.cc.


Member Function Documentation

const std::string & Test::Base::name ( void   )  const [inline]

Return name of test.

Definition at line 75 of file test.icc.

Base * Test::Base::tests ( void   )  [inline, static]

Return all tests.

Definition at line 79 of file test.icc.

Base * Test::Base::next ( void   )  const [inline]

Return next test.

Definition at line 83 of file test.icc.

bool Test::Base::fixpoint ( void   )  [inline, static]

Throw a coin whether to compute a fixpoint.

Definition at line 87 of file test.icc.


Member Data Documentation

Random number generator.

Definition at line 152 of file test.hh.


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