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

Function ValueFromString

src/test/rpc_tests.cpp:189–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187}
188
189static UniValue ValueFromString(const std::string &str)
190{
191 UniValue value;
192 BOOST_CHECK(value.setNumStr(str));
193 return value;
194}
195
196BOOST_AUTO_TEST_CASE(rpc_parse_monetary_values)
197{

Callers 1

BOOST_AUTO_TEST_CASEFunction · 0.85

Calls 1

setNumStrMethod · 0.80

Tested by

no test coverage detected