9#if !defined (STLPORT) || defined(_STLP_USE_NAMESPACES)
56 int numbers[6] = { 10, 5, 11, 20, 6, -2 };
58 size_t nb_pred_calls = 0;
69 CPPUNIT_ASSERT( nb_pred_calls ==
sizeof(numbers) /
sizeof(numbers[0]) );
75 int numbers[] = { 5, 5, 2, 10, 0, 12, 5, 0, 0, 19 };
76 vector <int>
v1(numbers, numbers+10);
78 size_t nb_pred_calls = 0;
95 int numbers[6] = { 6, 12, 3, 10, 1, 20 };
96 size_t nb_pred_calls = 0;
106 CPPUNIT_ASSERT( nb_pred_calls ==
sizeof(numbers) /
sizeof(numbers[0]) );
113 int numbers[10] ={ 19, 3, 11, 14, 10, 19, 8, 17, 9, 6 };
115 vector <int>
v1(numbers, numbers+10);
116 size_t nb_pred_calls = 0;
static INT partition(list_t &list, INT i, INT j, const CStringW &x)
_STLP_MOVE_TO_STD_NAMESPACE _ForwardIter stable_partition(_ForwardIter __first, _ForwardIter __last, _Predicate __pred)
CPPUNIT_TEST_SUITE(PartitionTest)
#define CPPUNIT_TEST_SUITE_REGISTRATION(X)
#define CPPUNIT_ASSERT(X)
bool operator()(int a_) const
less_n & operator=(less_n const &)
less_n(int limit, size_t &nb_calls)