20 #include <ripple/beast/unit_test.h>
21 #include <ripple/ledger/CashDiff.h>
22 #include <ripple/protocol/STAmount.h>
40 testcase(
"diffIsDust (STAmount, STAmount)");
67 expect(
diffIsDust(large, small, e10 + 1) == (e10 > 13));
70 newProbe = oldProbe * 10;
72 }
while (newProbe > oldProbe &&
91 expect(
diffIsDust(large, small, e10 + 1) == (e10 >= 20));
94 newProbe = oldProbe * 10;
96 }
while (newProbe > oldProbe &&