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('exp');
|
||||
T('exp', function () {
|
||||
|
||||
function t(n, expected, pr, rm) {
|
||||
Decimal.precision = pr;
|
||||
@@ -139,6 +138,4 @@ if (typeof T === 'undefined') require('../setup');
|
||||
t('8.82661445434039879925209590467500361019097244359748402', '6.813181388774733211e+3', 19, 6);
|
||||
t('9.02366224E-9', '1.00000000902366228071324023326175156155718e+0', 43, 6);
|
||||
t('-4.4768686752786086271180252E+574398129049502', '0e+0', 15, 3);
|
||||
|
||||
T.stop();
|
||||
})();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user