1
0
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:
Michael Mclaughlin
2016-02-06 17:51:29 +00:00
parent 587b9fe82f
commit caad23d669
64 changed files with 308 additions and 549 deletions

View File

@@ -1,7 +1,6 @@
if (typeof T === 'undefined') require('../setup');
(function () {
T('atanh');
T('atanh', function () {
function t(n, pr, rm, expected) {
Decimal.precision = pr;
@@ -1021,6 +1020,4 @@ if (typeof T === 'undefined') require('../setup');
t('0.0797', 253, 2, '0.07986939995414175208043904996845297385460176169003718353939128767528755481938934497755555209020339850238364350758547886230285042384986659961301325714649732629177151058324339115858308507429728549405136892851728167228522469101443134231829493416267582123405');
t('-0.1089752190313487560903960981844967611', 252, 5, '-0.109409701076893642220104058960155361324700274686560960807249771106995187215844080992753719826712933129477615536055983708257302997211720560529849083931589160406353980591055978490033770426423393286285330382391246639425123267777577081284158212108941527682');
*/
T.stop();
})();
});