// Copyright (C) 2001 // Housemarque Oy // http://www.housemarque.com // // Permission to copy, use, modify, sell and distribute this software is // granted provided this copyright notice appears in all copies. This // software is provided "as is" without express or implied warranty, and // with no claim as to its suitability for any purpose. // See http://www.boost.org for most recent version. #include #include #include #include // *** #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((FOR_TEST_MAX*(FOR_TEST_MAX+1)/2)+1 BOOST_PP_FOR(0,C,F,I))