blob: be44e9224ad5e294b0e7323746710260a0c95eb1 [file] [log] [blame]
Jeff Thompsona28eed82013-08-22 16:21:10 -07001
2// Copyright 2005-2009 Daniel James.
3// Distributed under the Boost Software License, Version 1.0. (See accompanying
4// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5
6#include "./config.hpp"
7
8#ifdef BOOST_HASH_TEST_EXTENSIONS
9# ifdef BOOST_HASH_TEST_STD_INCLUDES
10# include <functional>
11# else
12# include <boost/functional/hash.hpp>
13# endif
14#endif
15
16#include <boost/detail/lightweight_test.hpp>
17
18#ifdef BOOST_HASH_TEST_EXTENSIONS
19
20#include <set>
21
22using std::set;
23#define CONTAINER_TYPE set
24#include "./hash_set_test.hpp"
25
26using std::multiset;
27#define CONTAINER_TYPE multiset
28#include "./hash_set_test.hpp"
29
30#endif
31
32int main()
33{
34#ifdef BOOST_HASH_TEST_EXTENSIONS
35 set_tests::set_hash_integer_tests();
36 multiset_tests::multiset_hash_integer_tests();
37#endif
38
39 return ndnboost::report_errors();
40}