Generated on Tue May 22 09:41:48 2018 for Gecode by doxygen 1.6.3

Test::FlatZinc::FlatZincTest Class Reference

Base class for tests for FlatZinc More...

#include <flatzinc.hh>

List of all members.

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]

Perform test.

Implements Test::Base.

Definition at line 44 of file flatzinc.cpp.


Member Data Documentation

std::string Test::FlatZinc::FlatZincTest::_name [protected]

Name of the test.

Reimplemented from Test::Base.

Definition at line 53 of file flatzinc.hh.

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.

Definition at line 56 of file flatzinc.hh.


The documentation for this class was generated from the following files: