File tree 1 file changed +0
-31
lines changed
1 file changed +0
-31
lines changed Original file line number Diff line number Diff line change @@ -365,32 +365,6 @@ void sharing_map_view_test()
365
365
}
366
366
}
367
367
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
-
394
368
TEST_CASE (" Sharing map interface" )
395
369
{
396
370
sharing_map_interface_test ();
@@ -410,8 +384,3 @@ TEST_CASE("Sharing map views")
410
384
{
411
385
sharing_map_view_test ();
412
386
}
413
-
414
- TEST_CASE (" Sharing map memory" )
415
- {
416
- sharing_map_memory_test ();
417
- }
You can’t perform that action at this time.
0 commit comments