Test::FlatZinc::FlatZincTest Class Reference
Base class for tests for FlatZinc More...
#include <flatzinc.hh>
Public Member Functions | |
FlatZincTest (const std::string &name, const std::string &source, const std::string &expected, bool allSolutions=false) | |
Construct and register test. | |
virtual bool | run (void) |
Perform test. | |
Protected Attributes | |
std::string | _name |
Name of the test. | |
std::string | _source |
std::string | _expected |
bool | _allSolutions |
Detailed Description
Base class for tests for FlatZinc
Definition at line 51 of file flatzinc.hh.
Constructor & Destructor Documentation
Test::FlatZinc::FlatZincTest::FlatZincTest | ( | const std::string & | name, | |
const std::string & | source, | |||
const std::string & | expected, | |||
bool | allSolutions = false | |||
) |
Construct and register test.
Definition at line 38 of file flatzinc.cpp.
Member Function Documentation
bool Test::FlatZinc::FlatZincTest::run | ( | void | ) | [virtual] |
Member Data Documentation
std::string Test::FlatZinc::FlatZincTest::_name [protected] |
std::string Test::FlatZinc::FlatZincTest::_source [protected] |
Definition at line 54 of file flatzinc.hh.
std::string Test::FlatZinc::FlatZincTest::_expected [protected] |
Definition at line 55 of file flatzinc.hh.
bool Test::FlatZinc::FlatZincTest::_allSolutions [protected] |
Definition at line 56 of file flatzinc.hh.
The documentation for this class was generated from the following files:
- test/flatzinc.hh
- test/flatzinc.cpp