/******************************************************************************* * This file is part of the "https://github.com/blackmatov/flat.hpp" * For conditions of distribution and use, see copyright notice in LICENSE.md * Copyright (C) 2019, by Matvey Cherevko (blackmatov@gmail.com) ******************************************************************************/ #define CATCH_CONFIG_FAST_COMPILE #include "catch.hpp" #include "flat_map.hpp" namespace flat = flat_hpp; namespace { } TEST_CASE("flat_map") { { using map_t = flat::flat_map; static_assert( std::is_same::value, "unit test static error"); static_assert( std::is_same::value, "unit test static error"); static_assert( std::is_same>::value, "unit test static error"); static_assert( std::is_same::value, "unit test static error"); static_assert( std::is_same::value, "unit test static error"); static_assert( std::is_same&>::value, "unit test static error"); static_assert( std::is_same&>::value, "unit test static error"); static_assert( std::is_same*>::value, "unit test static error"); static_assert( std::is_same*>::value, "unit test static error"); } }