PIVX Core  5.6.99
P2P Digital Currency
Classes | Functions
base58_tests.cpp File Reference
#include "base58.h"
#include "data/base58_encode_decode.json.h"
#include "data/base58_keys_invalid.json.h"
#include "data/base58_keys_valid.json.h"
#include "key.h"
#include "key_io.h"
#include "uint256.h"
#include "utilstrencodings.h"
#include "test/test_pivx.h"
#include "util/vector.h"
#include <boost/test/unit_test.hpp>
#include <univalue.h>
Include dependency graph for base58_tests.cpp:

Go to the source code of this file.

Classes

class  TestAddrTypeVisitor
 
class  TestPayloadVisitor
 

Functions

UniValue read_json (const std::string &jsondata)
 
 BOOST_AUTO_TEST_CASE (base58_EncodeBase58)
 
 BOOST_AUTO_TEST_CASE (base58_DecodeBase58)
 
 BOOST_AUTO_TEST_CASE (base58_keys_valid_parse)
 
 BOOST_AUTO_TEST_CASE (base58_keys_valid_gen)
 
 BOOST_AUTO_TEST_CASE (base58_keys_invalid)
 
 BOOST_AUTO_TEST_CASE (base58_random_encode_decode)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/6]

BOOST_AUTO_TEST_CASE ( base58_DecodeBase58  )

Definition at line 48 of file base58_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [2/6]

BOOST_AUTO_TEST_CASE ( base58_EncodeBase58  )

Definition at line 28 of file base58_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [3/6]

BOOST_AUTO_TEST_CASE ( base58_keys_invalid  )

Definition at line 249 of file base58_tests.cpp.

◆ BOOST_AUTO_TEST_CASE() [4/6]

BOOST_AUTO_TEST_CASE ( base58_keys_valid_gen  )

Definition at line 189 of file base58_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [5/6]

BOOST_AUTO_TEST_CASE ( base58_keys_valid_parse  )

Definition at line 137 of file base58_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [6/6]

BOOST_AUTO_TEST_CASE ( base58_random_encode_decode  )

Definition at line 274 of file base58_tests.cpp.

◆ read_json()

UniValue read_json ( const std::string &  jsondata)

Definition at line 36 of file script_tests.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: