Split up set2 unit test to reduce compiling time and memory
[libcds.git] / tests / unit / set2 / set_insdel_func.cpp
1 //$$CDS-header$$
2
3 #include "set2/set_insdel_func.h"
4 #include "set2/set_type_michael.h"
5
6 namespace set2 {
7
8     CPPUNIT_TEST_SUITE_REGISTRATION( Set_InsDel_func );
9
10     size_t  Set_InsDel_func::c_nMapSize = 1000000    ;  // map size
11     size_t  Set_InsDel_func::c_nInsertThreadCount = 4;  // count of insertion thread
12     size_t  Set_InsDel_func::c_nDeleteThreadCount = 4;  // count of deletion thread
13     size_t  Set_InsDel_func::c_nEnsureThreadCount = 4;  // count of ensure thread
14     size_t  Set_InsDel_func::c_nThreadPassCount = 4  ;  // pass count for each thread
15     size_t  Set_InsDel_func::c_nMaxLoadFactor = 8    ;  // maximum load factor
16     bool    Set_InsDel_func::c_bPrintGCState = true;
17
18     CDSUNIT_DEFINE_MichaelSet( cc::michael_set::implementation_tag, Set_InsDel_func )
19
20     CPPUNIT_TEST_SUITE_PART( Set_InsDel_func, run_MichaelSet )
21         CDSUNIT_TEST_MichaelSet
22     CPPUNIT_TEST_SUITE_END_PART()
23
24 } // namespace set2