selection.cxx 895 B

123456789101112131415161718192021
  1. # /* **************************************************************************
  2. # * *
  3. # * (C) Copyright Paul Mensonides 2002.
  4. # * Distributed under the Boost Software License, Version 1.0. (See
  5. # * accompanying file LICENSE_1_0.txt or copy at
  6. # * http://www.boost.org/LICENSE_1_0.txt)
  7. # * *
  8. # ************************************************************************** */
  9. #
  10. # /* See http://www.boost.org for most recent version. */
  11. #
  12. # include <boost/preprocessor/selection.hpp>
  13. # include <libs/preprocessor/test/test.h>
  14. BEGIN BOOST_PP_MAX(2, 2) == 2 END
  15. BEGIN BOOST_PP_MAX(2, 1) == 2 END
  16. BEGIN BOOST_PP_MAX(1, 2) == 2 END
  17. BEGIN BOOST_PP_MIN(2, 2) == 2 END
  18. BEGIN BOOST_PP_MIN(2, 1) == 1 END
  19. BEGIN BOOST_PP_MIN(1, 2) == 1 END