Merge branch 'master' of github.com:jedmccaleb/NewCoin

This commit is contained in:
jed
2013-01-29 11:16:25 -08:00

View File

@@ -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