MCPcopy Create free account
hub / github.com/ElementsProject/elements / TestParse

Function TestParse

src/test/netbase_tests.cpp:113–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113bool static TestParse(std::string src, std::string canon)
114{
115 CService addr(LookupNumeric(src, 65535));
116 return canon == addr.ToString();
117}
118
119BOOST_AUTO_TEST_CASE(netbase_lookupnumeric)
120{

Callers 1

BOOST_AUTO_TEST_CASEFunction · 0.70

Calls 2

LookupNumericFunction · 0.85
ToStringMethod · 0.45

Tested by

no test coverage detected