Skip to content

Commit af2defd

Browse files
committed
Removed obsolete sharing map unit test
1 parent 1d7fbd3 commit af2defd

File tree

1 file changed

+0
-31
lines changed

1 file changed

+0
-31
lines changed

unit/util/sharing_map.cpp

-31
Original file line numberDiff line numberDiff line change
@@ -365,32 +365,6 @@ void sharing_map_view_test()
365365
}
366366
}
367367

368-
void sharing_map_memory_test()
369-
{
370-
int n;
371-
372-
n = 1000;
373-
//n = 5000000;
374-
375-
//sharing_mapt<int, int> m;
376-
std::map<int, int> m;
377-
//std::unordered_map<int, int> m;
378-
379-
std::random_device r;
380-
std::default_random_engine e(r());
381-
std::uniform_int_distribution<int> uniform_dist(0, INT_MAX);
382-
383-
for(int i = 0; i < n; i++)
384-
{
385-
int v;
386-
387-
//v = i;
388-
v = uniform_dist(e);
389-
390-
m.insert(std::make_pair(v, v));
391-
}
392-
}
393-
394368
TEST_CASE("Sharing map interface")
395369
{
396370
sharing_map_interface_test();
@@ -410,8 +384,3 @@ TEST_CASE("Sharing map views")
410384
{
411385
sharing_map_view_test();
412386
}
413-
414-
TEST_CASE("Sharing map memory")
415-
{
416-
sharing_map_memory_test();
417-
}

0 commit comments

Comments
 (0)