Generated on for Gecode by doxygen 1.15.0
test.cpp File Reference
#include "test/test.hh"
#include <iostream>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <utility>
#include <vector>

Go to the source code of this file.

Classes

class  Test::SortByName
 Sort tests by name. More...
class  Test::TestExecutionControl
class  Test::TestExecutor

Namespaces

namespace  Test
 General test support.

Functions

void Test::report_error (const std::string &name, unsigned int seed, Options &options, std::ostream &ostream)
bool Test::run_test (Base *test, unsigned int test_seed, const Options &options, std::ostream &ostream)
 Run a single test, returning true iff the test succeeded.
int Test::run_tests (const std::vector< Base * > &tests, const Options &options)
 Run all the tests with the supplied options.
int Test::run_tests_parallel (const std::vector< Base * > &tests, const Options &options)
 Run all the tests with the supplied options i parallel.
int main (int argc, char *argv[])
std::ostream & operator<< (std::ostream &os, const Test::ind &i)

Variables

std::ostringstream Test::olog
 Stream used for logging.
Options Test::opt
 The options.

Function Documentation

◆ main()

int main ( int argc,
char * argv[] )
related

Definition at line 460 of file test.cpp.

◆ operator<<()

std::ostream & operator<< ( std::ostream & os,
const Test::ind & i )
related

Definition at line 499 of file test.cpp.