Update test to consider change of default for deque
This commit is contained in:
1 parent
5bf644ccf0
commit
ae55ccfc40
2 files changed
+10
-1
No files matched your search
@@ -56,4 +56,5 @@ void cmp_cont(deque_float_t a, std::deque<float> b)
|
||||
#define DEFAULT_NUMBER 1000000
|
||||
#define HAVE_PUSH_FRONT
|
||||
#define HAVE_POP_FRONT
|
||||
#define HAVE_POP_BACK
|
||||
#include "check-generic.hpp"
|
||||
@@ -134,7 +134,15 @@ void test(int select_test, int index,
|
||||
break;
|
||||
#endif
|
||||
|
||||
#if M_TEST_METHOD_P(POP, CONT_OPL)
|
||||
#ifdef HAVE_POP_BACK
|
||||
case 2:
|
||||
if (!c1.empty()) {
|
||||
M_C(CONT_NAME, _pop_back)(&b0, c0);
|
||||
b1 = c1.back();
|
||||
c1.pop_back();
|
||||
}
|
||||
break;
|
||||
#elif M_TEST_METHOD_P(POP, CONT_OPL)
|
||||
case 2:
|
||||
if (!c1.empty()) {
|
||||
M_CALL_POP(CONT_OPL, &b0, c0);
|
||||
|
||||
Reference in new issue
Block a user