Perform actual tests
| 208 | c_d(c), a_d(a) {} |
| 209 | /// Perform actual tests |
| 210 | bool run(void) { |
| 211 | OneArray *s = new OneArray(T::n, T::l, T::u); |
| 212 | T::setup(*s, s->xs); |
| 213 | Search::Options o = Search::Options::def; |
| 214 | if (c_d != 0) o.c_d = c_d; |
| 215 | if (a_d != 0) o.a_d = a_d; |
| 216 | DFS<OneArray> e(s,o); |
| 217 | bool r = check(e, T::expectedSolutions()); |
| 218 | delete s; |
| 219 | return r; |
| 220 | } |
| 221 | }; |
| 222 | |
| 223 | #ifdef GECODE_HAS_SET_VARS |