rippled
|
Public Member Functions | |
STAmount | roundSelf (STAmount const &amount) |
void | roundTest (int n, int d, int m) |
void | mulTest (int a, int b) |
void | testSetValue (std::string const &value, Issue const &issue, bool success=true) |
void | testSetValue () |
void | testNativeCurrency () |
void | testCustomCurrency () |
void | testArithmetic () |
void | testUnderflow () |
void | testRounding () |
void | testConvertXRP () |
void | testConvertIOU () |
void | run () override |
Static Public Member Functions | |
static STAmount | serializeAndDeserialize (STAmount const &s) |
Definition at line 27 of file STAmount_test.cpp.
Definition at line 31 of file STAmount_test.cpp.
Definition at line 42 of file STAmount_test.cpp.
void ripple::STAmount_test::roundTest | ( | int | n, |
int | d, | ||
int | m | ||
) |
Definition at line 94 of file STAmount_test.cpp.
void ripple::STAmount_test::mulTest | ( | int | a, |
int | b | ||
) |
Definition at line 122 of file STAmount_test.cpp.
void ripple::STAmount_test::testSetValue | ( | std::string const & | value, |
Issue const & | issue, | ||
bool | success = true |
||
) |
Definition at line 146 of file STAmount_test.cpp.
void ripple::STAmount_test::testSetValue | ( | ) |
Definition at line 163 of file STAmount_test.cpp.
void ripple::STAmount_test::testNativeCurrency | ( | ) |
Definition at line 230 of file STAmount_test.cpp.
void ripple::STAmount_test::testCustomCurrency | ( | ) |
Definition at line 314 of file STAmount_test.cpp.
void ripple::STAmount_test::testArithmetic | ( | ) |
Definition at line 446 of file STAmount_test.cpp.
void ripple::STAmount_test::testUnderflow | ( | ) |
Definition at line 510 of file STAmount_test.cpp.
void ripple::STAmount_test::testRounding | ( | ) |
Definition at line 557 of file STAmount_test.cpp.
void ripple::STAmount_test::testConvertXRP | ( | ) |
Definition at line 609 of file STAmount_test.cpp.
void ripple::STAmount_test::testConvertIOU | ( | ) |
Definition at line 642 of file STAmount_test.cpp.
|
override |
Definition at line 677 of file STAmount_test.cpp.