Files
functional/hash/test/hash_set_test.cpp
T

41 lines
770 B
C++
Raw Normal View History

2005-04-01 16:58:09 +00:00
2008-06-12 00:27:13 +00:00
// Copyright 2005-2008 Daniel James.
// 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"
#ifdef TEST_EXTENSIONS
# ifdef TEST_STD_INCLUDES
# include <functional>
# else
2006-02-09 19:01:33 +00:00
# include <boost/functional/hash.hpp>
# endif
#endif
2005-04-01 16:58:09 +00:00
2008-06-12 00:27:13 +00:00
#include <boost/test/minimal.hpp>
2005-04-01 16:58:09 +00:00
#ifdef 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
2008-06-12 00:27:13 +00:00
int test_main(int, char**)
{
#ifdef TEST_EXTENSIONS
set_tests::set_hash_integer_tests();
multiset_tests::multiset_hash_integer_tests();
#endif
2008-06-12 00:27:13 +00:00
return 0;
}