mirror of
https://github.com/MikeMcl/decimal.js.git
synced 2026-09-23 04:14:32 +00:00
refactor tests
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
if (typeof T === 'undefined') require('../setup');
|
||||
|
||||
(function () {
|
||||
T('acosh');
|
||||
T('acosh', function () {
|
||||
|
||||
function t(n, pr, rm, expected) {
|
||||
Decimal.precision = pr;
|
||||
@@ -1022,6 +1021,4 @@ if (typeof T === 'undefined') require('../setup');
|
||||
t('33510010000000000000000000000000000000000000000000000000000020000000000000.00000000000000000000000000600000000000000000000000000000005000000000000000000070000000000000000000000000000000000000000000000000000050000000006', 74, 4, '169.99111807629879163625974865178022321947192724289646534209273324929519275');
|
||||
t('738.245', 160, 1, '7.297422469676460057258935714571304875282754408306560497316807162261123406168435263072369509041475105737583484684091946392872408276514681369949082374827023560118');
|
||||
*/
|
||||
|
||||
T.stop();
|
||||
})();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user