1
0
mirror of https://github.com/MikeMcl/decimal.js.git synced 2026-09-23 20:35:04 +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('cubeRoot');
T('cubeRoot', function () {
function t(n, pr, rm, expected) {
Decimal.precision = pr;
@@ -1012,6 +1011,4 @@ if (typeof T === 'undefined') require('../setup');
t('0.957879295825927826142564373360821131270801415966019238713966', 109, 5, '0.9857578905388967230426246816655261862702534477973555994356503867232804550175012371428559636272064749391546019');
t('-274794195303195669383690179150393637278', 61, 0, '-6501334600143.956003508608845101493972662138482039189675231797');
*/
T.stop();
})();
});