1
0
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:
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('atan');
T('atan', function () {
function t(n, pr, rm, expected) {
Decimal.precision = pr;
@@ -1022,6 +1021,4 @@ if (typeof T === 'undefined') require('../setup');
t('3354394611.3881376899877988616872259938319601369880849669', 192, 6, '1.57079632649678023286311994686956477646841465294402178072486209203158561050535190334941645352828522534616019819595242460960399719839223416641338127323237484479240504069592160103902872927414134');
t('787999999999999.59599999999999999999599999', 269, 0, '1.570796326794895350195788696715242951799942632473570555828022068752453304518753743626963506458329696080367499278430250428911442467137500277453786256757478954349115317731282586220585062639343019901985681043325797039758633135701387951803927390125479834754313536831194609');
*/
T.stop();
})();
});