diff --git a/test/test_lookup.cpp b/test/test_flat_map.cpp similarity index 98% rename from test/test_lookup.cpp rename to test/test_flat_map.cpp index 3517c2c4..9a8eeed3 100644 --- a/test/test_lookup.cpp +++ b/test/test_flat_map.cpp @@ -34,16 +34,16 @@ SOFTWARE. #include #include -#include "../lookup.h" +#include "../flat_map.h" namespace { - SUITE(test_lookup) + SUITE(test_flat_map) { static const size_t SIZE = 10; - typedef etl::lookup Data; - typedef std::map Compare_Data; + typedef etl::flat_map Data; + typedef std::map Compare_Data; std::vector initial_data; std::vector excess_data; @@ -322,7 +322,7 @@ namespace { Data data(initial_data.begin(), initial_data.end()); - CHECK_THROW(data.insert(std::make_pair(std::string("10"), 10)), etl::lookup_full); + CHECK_THROW(data.insert(std::make_pair(std::string("10"), 10)), etl::flat_map_full); } //************************************************************************* @@ -346,7 +346,7 @@ namespace { Data data; - CHECK_THROW(data.insert(excess_data.begin(), excess_data.end()), etl::lookup_full); + CHECK_THROW(data.insert(excess_data.begin(), excess_data.end()), etl::flat_map_full); }