cpltset.cc File Reference
(Revision: 6155)
#include "test/cpltset.hh"
#include "gecode/int.hh"
#include "gecode/iter.hh"
#include <algorithm>
Go to the source code of this file.
Namespaces | |
namespace | Test |
namespace | Test::CpltSet |
Classes | |
class | Test::CpltSet::CpltSetTestSpace |
Space for executing CpltSet tests. More... | |
Defines | |
#define | CHECK_TEST(T, M) |
Check the test result and handle failed test. | |
#define | START_TEST(T) |
Start new test. |
Define Documentation
#define CHECK_TEST | ( | T, | |||
M | ) |
Value:
if (opt.log) \ olog << ind(3) << "Check: " << (M) << std::endl; \ if (!(T)) { \ problem = (M); delete s; goto failed; \ }
Definition at line 48 of file cpltset.cc.
#define START_TEST | ( | T | ) |
Value:
if (opt.log) { \ olog.str(""); \ olog << ind(2) << "Testing: " << (T) << std::endl; \ } \ test = (T);
Definition at line 56 of file cpltset.cc.