Files
interval/test/cmp_header.hpp
Hervé Brönnimann 73b1986543 Attempt to remove warnings for Win32 test runs.
Should not create errors on other platforms (knock on wood!!!)
  -- Herve'


[SVN r18659]
2003-06-03 22:00:00 +00:00

33 lines
1.1 KiB
C++

/* Boost test/cmp_header.hpp header file
*
* Copyright Guillaume Melquiond 2003
* Permission to use, copy, modify, sell, and distribute this software
* is hereby granted without fee provided that the above copyright notice
* appears in all copies and that both that copyright notice and this
* permission notice appear in supporting documentation.
*
* None of the above authors make any representation about the
* suitability of this software for any purpose. It is provided "as
* is" without express or implied warranty.
*
* $Id$
*/
#include <boost/numeric/interval/interval.hpp>
#include <boost/numeric/interval/checking.hpp>
#include <boost/numeric/interval/compare.hpp>
#include <boost/numeric/interval/policies.hpp>
#include <boost/test/test_tools.hpp>
#include "bugs.hpp"
struct empty_class {};
typedef boost::numeric::interval_lib::policies
<empty_class, boost::numeric::interval_lib::checking_base<int> >
my_policies;
typedef boost::numeric::interval<int, my_policies> I;
#define BOOST_C_EXN(e) \
BOOST_CHECK_THROW(e, boost::numeric::interval_lib::comparison_error)