From fbea3f4f9f8ab8163b8267efd8c2e7b9159161d3 Mon Sep 17 00:00:00 2001 From: Vesa Karvonen Date: Sun, 20 Jan 2002 17:42:29 +0000 Subject: [PATCH] Increased repetition count of the test to reveal performance issues [SVN r12373] --- test/for_test.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/test/for_test.cpp b/test/for_test.cpp index 346e5cd..6772f7d 100644 --- a/test/for_test.cpp +++ b/test/for_test.cpp @@ -17,8 +17,12 @@ // *** -#define C(D,X) BOOST_PP_LESS_EQUAL(X,4) +#ifndef FOR_TEST_MAX +#define FOR_TEST_MAX 50 +#endif + +#define C(D,X) BOOST_PP_LESS_EQUAL(X,FOR_TEST_MAX) #define F(D,X) BOOST_PP_INC(X) #define I(D,X) -X -TEST(11 BOOST_PP_FOR(0,C,F,I)) +TEST((FOR_TEST_MAX*(FOR_TEST_MAX+1)/2)+1 BOOST_PP_FOR(0,C,F,I))