22 #include <boost/test/unit_test.hpp> 57 ICAP icap = ICAP::decoded(
"XE499OG1EH8ZZI0KXC6N83EKGT1BM97P2O7");
64 ICAP icap = ICAP::decoded(
"XE1222Q908LN1QBBU6XUQSO1OHWJIOS46OO");
71 ICAP icap = ICAP::decoded(
"XE7338O073KYGTWWZN0F2WZ0R8PX5ZPPZS");
77 std::string encoded =
"XE499OG1EH8ZZI0KXC6N83EKGT1BM97P2O7";
78 ICAP icap = ICAP::decoded(encoded);
std::string encoded() const
Adapted from code found on http://stackoverflow.com/questions/180947/base64-decode-snippet-in-c Origi...
std::hash for asio::adress
BOOST_AUTO_TEST_CASE(addressEncoding)
Fixed-size raw-byte array container type, with an API optimised for storing hashes.
Encapsulation of an ICAP address.
Address const & direct() const
#define BOOST_FIXTURE_TEST_SUITE(a, b)
#define BOOST_CHECK_EQUAL(v1, v2)
#define BOOST_AUTO_TEST_SUITE_END()
struct evm_uint160be address(struct evm_env *env)
Helper functions to work with json::spirit and test files.