turbonss/deps/cmph/cxxmph/map_tester_test.cc

18 lines
699 B
C++
Raw Permalink Normal View History

2012-06-02 02:39:10 +03:00
#include "map_tester.h"
2012-06-03 03:47:18 +03:00
#include "test.h"
2012-06-02 02:39:10 +03:00
using namespace cxxmph;
2012-06-03 03:47:18 +03:00
typedef MapTester<std::unordered_map> Tester;
2012-06-02 02:39:10 +03:00
2012-06-03 03:47:18 +03:00
CXXMPH_CXX_TEST_CASE(small_insert, Tester::small_insert);
CXXMPH_CXX_TEST_CASE(large_insert, Tester::large_insert);
CXXMPH_CXX_TEST_CASE(small_search, Tester::small_search);
CXXMPH_CXX_TEST_CASE(default_search, Tester::default_search);
CXXMPH_CXX_TEST_CASE(large_search, Tester::large_search);
CXXMPH_CXX_TEST_CASE(string_search, Tester::string_search);
2012-06-03 04:29:46 +03:00
CXXMPH_CXX_TEST_CASE(rehash_zero, Tester::rehash_zero);
CXXMPH_CXX_TEST_CASE(rehash_size, Tester::rehash_size);
CXXMPH_CXX_TEST_CASE(erase_value, Tester::erase_value);
CXXMPH_CXX_TEST_CASE(erase_iterator, Tester::erase_iterator);