Base class for tests for FlatZinc
More...
#include <flatzinc.hh>
|
| | 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.
|
| |
| | 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.
|
| |
Base class for tests for FlatZinc
Definition at line 51 of file flatzinc.hh.
◆ FlatZincTest()
| 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.
◆ run()
| bool Test::FlatZinc::FlatZincTest::run |
( |
void | | ) |
|
|
virtual |
◆ _name
| std::string Test::FlatZinc::FlatZincTest::_name |
|
protected |
◆ _source
| std::string Test::FlatZinc::FlatZincTest::_source |
|
protected |
◆ _expected
| std::string Test::FlatZinc::FlatZincTest::_expected |
|
protected |
◆ _allSolutions
| bool Test::FlatZinc::FlatZincTest::_allSolutions |
|
protected |
The documentation for this class was generated from the following files: