mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-29 15:35:50 +00:00
Merge branch 'master' of github.com:jedmccaleb/NewCoin
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
|
||||
#include <boost/lexical_cast.hpp>
|
||||
#include <boost/make_shared.hpp>
|
||||
#include <boost/test/unit_test.hpp>
|
||||
|
||||
#include "../json/writer.h"
|
||||
|
||||
@@ -1403,4 +1404,15 @@ uint64 Ledger::scaleFeeLoad(uint64 fee)
|
||||
return theApp->getFeeTrack().scaleFeeLoad(fee, mBaseFee, mReferenceFeeUnits);
|
||||
}
|
||||
|
||||
BOOST_AUTO_TEST_SUITE(quality)
|
||||
|
||||
BOOST_AUTO_TEST_CASE( getquality )
|
||||
{
|
||||
uint256 uBig("D2DC44E5DC189318DB36EF87D2104CDF0A0FE3A4B698BEEE55038D7EA4C68000");
|
||||
|
||||
if (6125895493223874560 != Ledger::getQuality(uBig))
|
||||
BOOST_FAIL("Ledger::getQuality fails.");
|
||||
}
|
||||
|
||||
BOOST_AUTO_TEST_SUITE_END()
|
||||
// vim:ts=4
|
||||
|
||||
Reference in New Issue
Block a user