| 84 | } |
| 85 | |
| 86 | bool static TestSplitHost(const std::string& test, const std::string& host, uint16_t port) |
| 87 | { |
| 88 | std::string hostOut; |
| 89 | uint16_t portOut{0}; |
| 90 | SplitHostPort(test, portOut, hostOut); |
| 91 | return hostOut == host && port == portOut; |
| 92 | } |
| 93 | |
| 94 | BOOST_AUTO_TEST_CASE(netbase_splithost) |
| 95 | { |
no test coverage detected