Files

41 lines
832 B
C++
Raw Permalink Normal View History

2005-04-01 16:58:09 +00:00
// Copyright 2005-2009 Daniel James.
2007-08-24 01:05:36 +00:00
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
2005-04-01 16:58:09 +00:00
#include "./config.hpp"
2012-12-17 23:37:56 +00:00
#ifdef BOOST_HASH_TEST_EXTENSIONS
# ifdef BOOST_HASH_TEST_STD_INCLUDES
# include <functional>
# else
2017-12-29 13:58:48 +00:00
# include <boost/container_hash/hash.hpp>
# endif
#endif
2005-04-01 16:58:09 +00:00
#include <boost/core/lightweight_test.hpp>
2005-04-01 16:58:09 +00:00
2012-12-17 23:37:56 +00:00
#ifdef BOOST_HASH_TEST_EXTENSIONS
2005-04-01 16:58:09 +00:00
#include <set>
using std::set;
#define CONTAINER_TYPE set
#include "./hash_set_test.hpp"
using std::multiset;
#define CONTAINER_TYPE multiset
#include "./hash_set_test.hpp"
#endif
int main()
{
2012-12-17 23:37:56 +00:00
#ifdef BOOST_HASH_TEST_EXTENSIONS
set_tests::set_hash_integer_tests();
multiset_tests::multiset_hash_integer_tests();
#endif
return boost::report_errors();
}