1
0
mirror of https://github.com/MikeMcl/decimal.js.git synced 2026-09-24 21:04: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('acos');
T('acos', function () {
function t(n, pr, rm, expected) {
Decimal.precision = pr;
@@ -1002,6 +1001,4 @@ if (typeof T === 'undefined') require('../setup');
t('0.31503731586271512953987', 175, 1, '1.250300355040444140384875969127128388865582776679385514007352971948442243497048855209710989127061157111853695806290441906793238123959427914022156720058162558731327402523044166');
t('-0.07853007897317622293045558522251526660194271081717322978', 173, 6, '1.6494073460738196727474653405568328128478576667816496188558018754785734688662650493515246411034101302768235838373499639808407336300758786703980995090099910486541663777946303');
*/
T.stop();
})();
});