]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/histogram/test/detail_relaxed_equal_test.cpp
1 // Copyright 2015-2017 Hans Dembinski
3 // Distributed under the Boost Software License, Version 1.0.
4 // (See accompanying file LICENSE_1_0.txt
5 // or copy at http://www.boost.org/LICENSE_1_0.txt)
7 #include <boost/core/lightweight_test.hpp>
8 #include <boost/core/lightweight_test_trait.hpp>
9 #include <boost/histogram/detail/relaxed_equal.hpp>
10 #include "std_ostream.hpp"
12 using namespace boost::histogram::detail
;
19 bool operator==(const B
&) const { return false; }
23 BOOST_TEST(relaxed_equal(a
, b
));
24 BOOST_TEST_NOT(relaxed_equal(c
, d
));
26 return boost::report_errors();