Update arithmetic tests

This commit is contained in:
Edward Diener
2020-05-29 21:35:40 -04:00
parent d49211a963
commit 05b3defe2f
2 changed files with 9 additions and 19 deletions

View File

@ -9,8 +9,8 @@
#
# /* See http://www.boost.org for most recent version. */
#
# include <boost/preprocessor/arithmetic.hpp>
# include <boost/preprocessor/config/limits.hpp>
# include <boost/preprocessor/arithmetic.hpp>
# include <libs/preprocessor/test/test.h>
/* addition */
@ -21,12 +21,6 @@ BEGIN BOOST_PP_ADD(BOOST_PP_ADD(2, 2), 2) == 6 END
BEGIN BOOST_PP_ADD(2, BOOST_PP_ADD(1, 4)) == 7 END
BEGIN BOOST_PP_ADD(BOOST_PP_ADD(2, 2), BOOST_PP_ADD(2, 2)) == 8 END
#if BOOST_PP_LIMIT_MAG == 256
BEGIN BOOST_PP_ADD(149, BOOST_PP_ADD(102, 137)) == 256 END
#endif
#if BOOST_PP_LIMIT_MAG == 512
BEGIN BOOST_PP_ADD(374, 129) == 503 END