Generated on Wed Feb 7 10:29:41 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 55 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 42 of file flatzinc.cpp.

Member Function Documentation

bool Test::FlatZinc::FlatZincTest::run ( void   )  [virtual]

Perform test.

Implements Test::Base.

Definition at line 48 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 57 of file flatzinc.hh.

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

Definition at line 58 of file flatzinc.hh.

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

Definition at line 59 of file flatzinc.hh.

Definition at line 60 of file flatzinc.hh.

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