mirror of
https://github.com/MikeMcl/decimal.js.git
synced 2026-09-23 12:24:47 +00:00
refactor tests
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
if (typeof T === 'undefined') require('../setup');
|
||||
|
||||
(function () {
|
||||
T('asin');
|
||||
T('asin', function () {
|
||||
|
||||
function t(n, pr, rm, expected) {
|
||||
Decimal.precision = pr;
|
||||
@@ -1022,6 +1021,4 @@ if (typeof T === 'undefined') require('../setup');
|
||||
t('0.3896123202596462640243469782579072859666092096691018020981352451', 145, 6, '0.4002106120989776668931051758718787991367561875356896388646369850676906617494355205656926402325949310714153999882796007787625156219933889017506432');
|
||||
t('-0.303', 254, 3, '-0.30783907040876792121510536109523187982242884051368525496594226813212357419698266185959575883139074602781263663734367163737121385086938445928188265807214271585884836376698829544634456224901961507384983017559267905307575220542265905880239862946724365803028');
|
||||
*/
|
||||
|
||||
T.stop();
|
||||
})();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user