New Env transaction testing framework:

This adds a suite of tools used to write unit tests. The Env provides
a context containing a ledger, and routines that assemble transactions
from JSON with optional "funclets" that add details in an exensible, terse
notation.
This commit is contained in:
Vinnie Falco
2015-05-29 13:24:30 -07:00
parent 4cfffdf76f
commit 64c8335e22
13 changed files with 1943 additions and 13 deletions

View File

@@ -45,11 +45,12 @@ static
std::uint64_t const
SYSTEM_CURRENCY_USERS = 100000000;
/** Number of drops per 1 XRP */
static
std::uint64_t const
SYSTEM_CURRENCY_PARTS = 1000000;
/** Calculate the amount of native currency created at genesis. */
/** Number of drops in the genesis account. */
static
std::uint64_t const
SYSTEM_CURRENCY_START = SYSTEM_CURRENCY_GIFT * SYSTEM_CURRENCY_USERS * SYSTEM_CURRENCY_PARTS;