Chops Net IP
Loading...
Searching...
No Matches
tcp_connector_timeout_test.cpp File Reference

Unit tests for classes and functions in tcp_connector_timeout.hpp. More...

#include "catch2/catch_test_macros.hpp"
#include "net_ip/tcp_connector_timeout.hpp"
Include dependency graph for tcp_connector_timeout_test.cpp:

Typedefs

using opt_ms = std::optional<std::chrono::milliseconds>
 

Functions

template<typename F >
void common_fixed_to_test (const F &func, opt_ms exp_val, std::size_t num)
 
template<typename F >
void common_progressive_to_test (const F &func, opt_ms exp_val1, opt_ms exp_val2, opt_ms exp_val3, opt_ms exp_val4)
 
 TEST_CASE ("tcp connector timeout", "[tcp_connector_timeout]")
 

Variables

const opt_ms empty_val { opt_ms{ } }
 

Detailed Description

Unit tests for classes and functions in tcp_connector_timeout.hpp.

Author
Nathan Deutsch

Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.txt or copy at http://www.boost.org/LICENSE_1_0.txt)