Typedefs | Functions
policy_tests.cpp File Reference
#include <tsl/robin_growth_policy.h>
#include <boost/mpl/list.hpp>
#include <boost/test/unit_test.hpp>
#include <cstddef>
#include <limits>
#include <ratio>
#include <stdexcept>
#include "utils.h"
Include dependency graph for policy_tests.cpp:

Go to the source code of this file.

Typedefs

using test_types = boost::mpl::list< tsl::rh::power_of_two_growth_policy< 2 >, tsl::rh::power_of_two_growth_policy< 4 >, tsl::rh::prime_growth_policy, tsl::rh::mod_growth_policy<>, tsl::rh::mod_growth_policy< std::ratio< 7, 2 > >>
 

Functions

 BOOST_AUTO_TEST_CASE_TEMPLATE (test_policy, Policy, test_types)
 
 BOOST_AUTO_TEST_CASE_TEMPLATE (test_policy_max_bucket_count, Policy, test_types)
 
 BOOST_AUTO_TEST_CASE_TEMPLATE (test_policy_min_bucket_count, Policy, test_types)
 

Typedef Documentation

◆ test_types

MIT License

Copyright (c) 2017 Thibaut Goetghebuer-Planchon tessi.nosp@m.l@gm.nosp@m.x.com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Definition at line 41 of file policy_tests.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [1/3]

BOOST_AUTO_TEST_CASE_TEMPLATE ( test_policy  ,
Policy  ,
test_types   
)

Definition at line 43 of file policy_tests.cpp.

◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [2/3]

BOOST_AUTO_TEST_CASE_TEMPLATE ( test_policy_max_bucket_count  ,
Policy  ,
test_types   
)

Definition at line 81 of file policy_tests.cpp.

◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [3/3]

BOOST_AUTO_TEST_CASE_TEMPLATE ( test_policy_min_bucket_count  ,
Policy  ,
test_types   
)

Definition at line 72 of file policy_tests.cpp.



mp2p_icp
Author(s):
autogenerated on Fri Dec 20 2024 03:46:00