
Base class for all tests to be run More...
#include <test.hh>
Public Member Functions | |
| Base (const std::string &s) | |
| Create and register test with name s. More... | |
| const std::string & | name (void) const |
| Return name of test. More... | |
| Base * | next (void) const |
| Return next test. More... | |
| void | next (Base *n) |
| Set next test. More... | |
| virtual bool | run (void)=0 |
| Run test. More... | |
| virtual | ~Base (void) |
| Destructor. More... | |
Static Public Member Functions | |
| static void | sort (void) |
| Sort tests alphabetically. More... | |
| static Base * | tests (void) |
| Return all tests. More... | |
| static bool | fixpoint (void) |
| Throw a coin whether to compute a fixpoint. More... | |
Static Public Attributes | |
| static Gecode::Support::RandomGenerator | rand = Gecode::Support::RandomGenerator() |
| Random number generator. More... | |
Related Functions | |
(Note that these are not member functions.) | |
| int | main (int argc, char *argv[]) |
| Main function. More... | |
| Test::Base::Base | ( | const std::string & | s | ) |
|
static |
|
inline |
|
inlinestatic |
|
inline |
|
pure virtual |
Run test.
Implemented in Test::LDSB::LDSBLatin, Test::Search::RBS< Model, Engine >, Test::Search::BAB< Model >, Test::Search::DFS< Model >, Test::Float::Test, Test::Set::SetTest, Test::Int::Test, Test::Array::SharedArrayIterator, Test::Int::BinPacking::CliqueMBPT, Test::Array::ViewArrayIterator, Test::LDSB::LDSBSet< T >, Test::NoGoods::NoGoods< Model, ValBranch >, Test::Array::VarArgsIterator, Test::LDSB::LDSB< T >, Test::Array::VarArrayIterator, Test::Int::Distinct::Pathological, Test::Branch::FloatTest, Test::Assign::FloatTest, Test::Branch::SetTest, Test::Assign::SetTest, Test::Branch::BoolTest, Test::Assign::BoolTest, Test::AFC, Test::BrancherHandle, Test::Branch::IntTest, Test::Assign::IntTest, and Test::FlatZinc::FlatZincTest.
|
inlinestatic |
|
related |
|
static |