Perform actual tests
| 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 |