using boost::shared_ptr;
using boost::weak_ptr;
using boost::optional;
+#if BOOST_VERSION >= 106100
+using namespace boost::placeholders;
+#endif
+
static void
push (Shuffler& s, int frame, Eyes eyes)
check (0, EYES_LEFT, __LINE__);
/* More lefts should be kept in the shuffler in the hope that some rights arrive */
- for (int i = 0; i < 8; ++i) {
+ for (int i = 0; i < s._max_size; ++i) {
push (s, i + 1, EYES_LEFT);
}
BOOST_CHECK (pending_cv.empty ());
/* If enough lefts come the shuffler should conclude that there's no rights and start
giving out the lefts.
*/
- push (s, 9, EYES_LEFT);
+ push (s, s._max_size + 1, EYES_LEFT);
check (1, EYES_LEFT, __LINE__);
}