MCPcopy Create free account
hub / github.com/Gecode/gecode / run

Method run

test/ldsb.cpp:237–247  ·  view source on GitHub ↗

Perform actual tests

Source from the content-addressed store, hash-verified

235 c_d(c), a_d(a) {}
236 /// Perform actual tests
237 bool run(void) {
238 OneArraySet *s = new OneArraySet(T::n, T::l, T::u);
239 T::setup(*s, s->xs);
240 Search::Options o = Search::Options::def;
241 if (c_d != 0) o.c_d = c_d;
242 if (a_d != 0) o.a_d = a_d;
243 DFS<OneArraySet> e(s,o);
244 bool r = check(e, T::expectedSolutions());
245 delete s;
246 return r;
247 }
248 };
249#endif
250

Callers

nothing calls this directly

Calls 1

checkFunction · 0.70

Tested by

no test coverage detected