From 0a0532bbba8bda0f1771b1172be708b4652e3a8b Mon Sep 17 00:00:00 2001 From: ZhilkinSerg Date: Sat, 4 May 2019 02:56:36 +0300 Subject: [PATCH] Updated tests --- tests/map_memory.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/map_memory.cpp b/tests/map_memory.cpp index 69ae06b681e54..ff2f8ec93ee4c 100644 --- a/tests/map_memory.cpp +++ b/tests/map_memory.cpp @@ -35,7 +35,7 @@ TEST_CASE( "map_memory_remembers", "[map_memory]" ) TEST_CASE( "map_memory_limited", "[map_memory]" ) { - lru_cache symbol_cache; + lru_cache symbol_cache; symbol_cache.insert( 2, p1, 1 ); symbol_cache.insert( 2, p2, 1 ); symbol_cache.insert( 2, p3, 1 ); @@ -54,7 +54,7 @@ TEST_CASE( "map_memory_overwrites", "[map_memory]" ) TEST_CASE( "map_memory_erases_lru", "[map_memory]" ) { - lru_cache symbol_cache; + lru_cache symbol_cache; symbol_cache.insert( 2, p1, 1 ); symbol_cache.insert( 2, p2, 2 ); symbol_cache.insert( 2, p1, 1 ); @@ -93,7 +93,7 @@ TEST_CASE( "map_memory_survives_save_lod", "[map_memory]" ) TEST_CASE( "lru_cache_perf", "[.]" ) { constexpr int max_size = 1000000; - lru_cache symbol_cache; + lru_cache symbol_cache; const auto start1 = std::chrono::high_resolution_clock::now(); for( int i = 0; i < 1000000; ++i ) { for( int j = -60; j <= 60; ++j ) {