Test for Region memory area More...
Public Member Functions | |
Region (void) | |
Initialize test. | |
bool | run (void) |
Perform actual tests. | |
![]() | |
Base (const std::string &s) | |
Create and register test with name s. | |
const std::string & | name (void) const |
Return name of test. | |
Base * | next (void) const |
Return next test. | |
void | next (Base *n) |
Set next test. | |
virtual | ~Base (void) |
Destructor. | |
Static Protected Attributes | |
static const int | n_repeat = 16 |
How often to repeat. | |
static const int | n_blocks = 64 |
How many blocks to allocate. | |
static const size_t | size |
The size of a block. | |
Additional Inherited Members | |
![]() | |
static void | sort (void) |
Sort tests alphabetically. | |
static Base * | tests (void) |
Return all tests. | |
static bool | fixpoint (void) |
Throw a coin whether to compute a fixpoint. | |
![]() | |
static Gecode::Support::RandomGenerator | rand = Gecode::Support::RandomGenerator() |
Random number generator. | |
![]() | |
int | main (int argc, char *argv[]) |
Main function. | |
Test for Region memory area
Definition at line 42 of file region.cpp.
|
inline |
Initialize test.
Definition at line 53 of file region.cpp.
|
inlinevirtual |
How often to repeat.
Definition at line 45 of file region.cpp.
How many blocks to allocate.
Definition at line 47 of file region.cpp.
The size of a block.
Definition at line 49 of file region.cpp.