Class for testing the SharedArray iterator More...
Public Member Functions | |
SharedArrayIterator (void) | |
Initialize test. More... | |
bool | run (void) |
Perform actual tests. More... | |
Protected Types | |
typedef Gecode::SharedArray< int > | Array |
Array type being tested. More... | |
Static Protected Attributes | |
static const int | n = 16 |
Maximum array size. More... | |
![]() | |
static const int | n = 16 |
Maximum array size. More... | |
Additional Inherited Members | |
![]() | |
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 Gecode::Support::RandomGenerator | rand = Gecode::Support::RandomGenerator() |
Random number generator. More... | |
![]() | |
Iterator (const std::string &name) | |
Initialize test. More... | |
template<class Array > | |
bool | runTestForArray (Array &a) |
Perform actual tests. More... | |
![]() | |
int | main (int argc, char *argv[]) |
Main function. More... | |
|
protected |
|
inline |
|
inlinevirtual |
|
staticprotected |