mirror of
https://github.com/MikeMcl/decimal.js.git
synced 2026-09-24 04:44:34 +00:00
refactor tests
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
if (typeof T === 'undefined') require('../setup');
|
||||
|
||||
(function () {
|
||||
T('log10');
|
||||
T('log10', function () {
|
||||
|
||||
function t(n, expected, sd, rm) {
|
||||
Decimal.precision = sd;
|
||||
@@ -518,6 +517,4 @@ if (typeof T === 'undefined') require('../setup');
|
||||
t('8.01844860599820804155768000879876725329864650214532E+436946856', '4.36946856904090349951357241211271e+8', 33, 2);
|
||||
t('5.5574947893333547365232067522673911E+7059', '7.05974487906417987536846332910957964e+3', 36, 5);
|
||||
t('9.552816484569040E+6270', '6.2709801314347641e+3', 17, 0);
|
||||
|
||||
T.stop();
|
||||
})();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user