forked from boostorg/container_hash
Boster.Test which makes it easier to switch to take advantage of Boost.Test's extra testing facilities. Merged revisions 44420 via svnmerge from https://svn.boost.org/svn/boost/branches/unordered/trunk ........ r44420 | danieljames | 2008-04-14 19:02:03 +0100 (Mon, 14 Apr 2008) | 1 line Use Boost.Test's minimal test library. ........ [SVN r44487]
36 lines
673 B
C++
36 lines
673 B
C++
|
|
// 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)
|
|
|
|
#include "./config.hpp"
|
|
|
|
#ifdef TEST_EXTENSIONS
|
|
# ifdef TEST_STD_INCLUDES
|
|
# include <functional>
|
|
# else
|
|
# include <boost/functional/hash.hpp>
|
|
# endif
|
|
#endif
|
|
|
|
#include <boost/test/minimal.hpp>
|
|
|
|
#ifdef TEST_EXTENSIONS
|
|
|
|
#include <vector>
|
|
|
|
using std::vector;
|
|
#define CONTAINER_TYPE vector
|
|
#include "./hash_sequence_test.hpp"
|
|
|
|
#endif // TEST_EXTENSIONS
|
|
|
|
int test_main(int, char**)
|
|
{
|
|
#ifdef TEST_EXTENSIONS
|
|
vector_tests::vector_hash_integer_tests();
|
|
#endif
|
|
|
|
return 0;
|
|
}
|