Add div test re #58

This commit is contained in:
Michael Mclaughlin 2015-03-25 21:08:14 +00:00
parent f08a35ca03
commit 75682d5ea2
1 changed files with 3 additions and 0 deletions

View File

@ -2019,6 +2019,9 @@ var count = (function div(BigNumber) {
BigNumber.config({ RANGE: [-8, 1e9], ERRORS: true });
T(x, 1, '0', 9, 4);
// Issue #58
T(1, '0.50000025000012500006', '1.99999900000000000001', 20, 4);
log('\n ' + passed + ' of ' + total + ' tests passed in ' + (+new Date() - start) + ' ms \n');
return [passed, total];;
})(this.BigNumber);