8#include <boost/test/unit_test.hpp> 
   16    static const std::string CASES[] = {
 
   19        "an83characterlonghumanreadablepartthatcontainsthenumber1andtheexcludedcharactersbio1tt5tgs",
 
   20        "abcdef1qpzry9x8gf2tvdw0s3jn54khce6mua7lmqqqxw",
 
   21        "11qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqc8247j",
 
   22        "split1checkupstagehandshakeupstreamerranterredcaperred2y9e3w",
 
   25    for (
const std::string& str : CASES) {
 
   36    static const std::string CASES[] = {
 
   39        "an83characterlonghumanreadablepartthatcontainsthetheexcludedcharactersbioandnumber11sg7hg6",
 
   40        "abcdef1l7aum6echk45nj3s0wdvt2fg8x9yrzpqzd3ryx",
 
   41        "11llllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllludsr8",
 
   42        "split1checkupstagehandshakeupstreamerranterredcaperredlc445v",
 
   45    for (
const std::string& str : CASES) {
 
   56    static const std::string CASES[] = {
 
   60        "an84characterslonghumanreadablepartthatcontainsthenumber1andtheexcludedcharactersbio1569pvx",
 
   72    for (
const std::string& str : CASES) {
 
   80    static const std::string CASES[] = {
 
   84        "an84characterslonghumanreadablepartthatcontainsthetheexcludedcharactersbioandnumber11d6pts4",
 
   96    for (
const std::string& str : CASES) {
 
BOOST_AUTO_TEST_CASE(bech32_testvectors_valid)
BOOST_AUTO_TEST_SUITE(cuckoocache_tests)
Test Suite for CuckooCache.
BOOST_AUTO_TEST_SUITE_END()
@ INVALID
Failed decoding.
@ BECH32
Bech32 encoding as defined in BIP173.
@ BECH32M
Bech32m encoding as defined in BIP350.
std::string Encode(Encoding encoding, const std::string &hrp, const data &values)
Encode a Bech32 or Bech32m string.
DecodeResult Decode(const std::string &str)
Decode a Bech32 or Bech32m string.
#define BOOST_CHECK(expr)
bool CaseInsensitiveEqual(const std::string &s1, const std::string &s2)