Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_34_1/libs/functional/hash/test/hash_map_test.cpp @ 29

Last change on this file since 29 was 29, checked in by landauf, 16 years ago

updated boost from 1_33_1 to 1_34_1

File size: 842 bytes
Line 
1
2//  Copyright Daniel James 2005-2006. Use, modification, and distribution are
3//  subject to 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 TEST_EXTENSIONS
9#  ifdef 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#include <map>
19
20#ifdef TEST_EXTENSIONS
21
22using std::map;
23#define CONTAINER_TYPE map
24#include "./hash_map_test.hpp"
25
26using std::multimap;
27#define CONTAINER_TYPE multimap
28#include "./hash_map_test.hpp"
29
30#endif // TEST_EXTENSTIONS
31
32int main()
33{
34#ifdef TEST_EXTENSIONS
35    map_tests::map_hash_integer_tests();
36    multimap_tests::multimap_hash_integer_tests();
37#endif
38
39    return boost::report_errors();
40}
Note: See TracBrowser for help on using the repository browser.