• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*=============================================================================
2     Copyright (c) 2001-2007 Joel de Guzman
3 
4     Distributed under the Boost Software License, Version 1.0. (See accompanying
5     file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 ==============================================================================*/
7 #include <boost/detail/lightweight_test.hpp>
8 #include <boost/phoenix/core.hpp>
9 #include <boost/phoenix/operator.hpp>
10 
11 namespace phoenix = boost::phoenix;
12 
13 int
main()14 main()
15 {
16     using phoenix::val;
17 
18     {
19         BOOST_TEST(!(val(123) == 456)());
20         BOOST_TEST((val(123) != 456)());
21         BOOST_TEST(!(val(123) > 456)());
22         BOOST_TEST((val(123) < 456)());
23         BOOST_TEST(!(val(123) > 456)());
24         BOOST_TEST((val(123) <= 123)());
25         BOOST_TEST((val(123) >= 123)());
26     }
27 
28     return boost::report_errors();
29 }
30