From 4ad8daff47486c7e71441c7996ce09b5ff56e8cf Mon Sep 17 00:00:00 2001 From: Paul Harrison Date: Wed, 25 Sep 2024 07:59:11 +0100 Subject: [PATCH 1/4] change to ECMAScript module from commonJS --- src/main/ts/TSOFA.ts | 4 ++-- tsconfig.json | 8 +++++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/main/ts/TSOFA.ts b/src/main/ts/TSOFA.ts index 3aca497..9a5566e 100644 --- a/src/main/ts/TSOFA.ts +++ b/src/main/ts/TSOFA.ts @@ -1,5 +1,5 @@ - import { TSOFAIllegalParameter } from "./TSOFAIllegalParameter"; - import { TSOFAInternalError } from "./TSOFAInternalError"; + import { TSOFAIllegalParameter } from "./TSOFAIllegalParameter.js"; + import { TSOFAInternalError } from "./TSOFAInternalError.js"; /** * Typescript implementation of Standards of Fundamental Astronomy. http://www.iausofa.org/ * diff --git a/tsconfig.json b/tsconfig.json index 1883cce..635df7b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,12 +1,14 @@ { "$schema": "https://json.schemastore.org/tsconfig", "compilerOptions": { - "module": "commonjs", - "target": "es6", + "module": "ESNext", + "target": "ES2020", "declaration": true, "sourceMap": true, + "declarationMap": true, + "strict": true, + "moduleResolution": "Node", "experimentalDecorators": true, - "lib": [ "es6" ] , "outDir": "./dist" }, "include": [ From 0849d3f81ab45f86db140a23485109a1c3fe5be3 Mon Sep 17 00:00:00 2001 From: Paul Harrison Date: Wed, 25 Sep 2024 10:10:12 +0100 Subject: [PATCH 2/4] move to jest for testing --- package.json | 5 +- src/test/ts/TSOFATest.spec.ts | 4134 ++++++++++++++++----------------- testy.json | 1 - tsconfig.json | 3 +- yarn.lock | 2009 +++++++++++++++- 5 files changed, 3869 insertions(+), 2283 deletions(-) delete mode 100644 testy.json diff --git a/package.json b/package.json index 85258f6..2fefce4 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "private": false, "scripts": { "build": "tsc", - "test": "testyts", + "test": "jest --watch", "doc": "typedoc src/main/ts/TSOFA.ts", "eslint": "eslint ." }, @@ -42,7 +42,8 @@ "eslint-plugin-jsdoc": "^46.8.1", "eslint-plugin-prefer-arrow": "^1.2.3", "globals": "^15.9.0", - "testyts": "^1.5.0", + "jest": "^29.7.0", + "ts-jest": "^29.2.5", "ts-node": "^10.9.1", "typedoc": "^0.25.6", "typescript": "^5.2.2", diff --git a/src/test/ts/TSOFATest.spec.ts b/src/test/ts/TSOFATest.spec.ts index 6695337..3c1775a 100644 --- a/src/test/ts/TSOFATest.spec.ts +++ b/src/test/ts/TSOFATest.spec.ts @@ -1,13 +1,11 @@ /* Generated from Java with JSweet 3.1.0 - http://www.jsweet.org */ -import { BeforeEach, expect, Test, TestCase, TestSuite } from 'testyts'; +import { expect, test } from '@jest/globals'; import {TSOFA} from "../../main/ts/TSOFA" import {TSOFAInternalError} from "../../main/ts/TSOFAInternalError"; import {TSOFAIllegalParameter} from "../../main/ts/TSOFAIllegalParameter"; +import { TSOFAException } from '../../main/ts/TSOFAException'; -@TestSuite() -export class TSOFATest { - static verbose: boolean = false; /** @@ -30,11 +28,11 @@ export class TSOFATest { * @param {number} ivalok * @param {string} func * @param {string} test - * @private + * */ - /*private*/ viv(ival: number, ivalok: number, func: string, test: string) { + function viv(ival: number, ivalok: number, func: string, test: string) { - expect.toBeEqual(ivalok,ival); + expect(ival).toBe(ivalok); } @@ -60,131 +58,121 @@ export class TSOFATest { * @param {number} dval * @param {string} func * @param {string} test - * @private + * */ - /*private*/ vvd(val: number, valok: number, dval: number, func: string, test: string) { + function vvd(val: number, valok: number, dval: number, func: string, test: string) { let a: number; let f: number; a = val - valok; if(a != 0) { f = Math.abs(valok / a); - expect.toBeLessOrEqual(Math.abs(a), dval, `${val} not equal to ${valok} at fractional level ${f}`) + expect(Math.abs(a)).toBeLessThanOrEqual( dval )// todo restablish `${val} not equal to ${valok} at fractional level ${f}` } else { - expect.toBeEqual(val,valok); + expect(val).toBe(valok); } - } - @Test() - public t_a2af() { + }; +test("t_a2af", () => { const idmsf: number[] = [0, 0, 0, 0]; let s: string; s = TSOFA.jauA2af(4, 2.345, idmsf); - this.viv((s).charCodeAt(0), ('+').charCodeAt(0), "jauA2af", "s"); - this.viv(idmsf[0], 134, "jauA2af", "0"); - this.viv(idmsf[1], 21, "jauA2af", "1"); - this.viv(idmsf[2], 30, "jauA2af", "2"); - this.viv(idmsf[3], 9706, "jauA2af", "3"); - } - @Test() - public t_a2tf() { + viv((s).charCodeAt(0), ('+').charCodeAt(0), "jauA2af", "s"); + viv(idmsf[0], 134, "jauA2af", "0"); + viv(idmsf[1], 21, "jauA2af", "1"); + viv(idmsf[2], 30, "jauA2af", "2"); + viv(idmsf[3], 9706, "jauA2af", "3"); + }); +test("t_a2tf", () => { const ihmsf: number[] = [0, 0, 0, 0]; let s: string; s = TSOFA.jauA2tf(4, -3.01234, ihmsf); - this.viv((s).charCodeAt(0), ('-').charCodeAt(0), "jauA2tf", "s"); - this.viv(ihmsf[0], 11, "jauA2tf", "0"); - this.viv(ihmsf[1], 30, "jauA2tf", "1"); - this.viv(ihmsf[2], 22, "jauA2tf", "2"); - this.viv(ihmsf[3], 6484, "jauA2tf", "3"); - } - @Test() - public t_anp() { - this.vvd(TSOFA.jauAnp(-0.1), 6.183185307179587, 1.0E-12, "jauAnp", ""); - } - @Test() - public t_anpm() { - this.vvd(TSOFA.jauAnpm(-4.0), 2.2831853071795867, 1.0E-12, "jauAnpm", ""); - } - @Test() - public t_bi00() { + viv((s).charCodeAt(0), ('-').charCodeAt(0), "jauA2tf", "s"); + viv(ihmsf[0], 11, "jauA2tf", "0"); + viv(ihmsf[1], 30, "jauA2tf", "1"); + viv(ihmsf[2], 22, "jauA2tf", "2"); + viv(ihmsf[3], 6484, "jauA2tf", "3"); + }); +test("t_anp", () => { + vvd(TSOFA.jauAnp(-0.1), 6.183185307179587, 1.0E-12, "jauAnp", ""); + }); +test("t_anpm", () => { + vvd(TSOFA.jauAnpm(-4.0), 2.2831853071795867, 1.0E-12, "jauAnpm", ""); + }); +test("t_bi00", () => { const ret: TSOFA.FrameBias = TSOFA.jauBi00(); - this.vvd(ret.dpsibi, -2.0253091528350866E-7, 1.0E-12, "jauBi00", "dpsibi"); - this.vvd(ret.depsbi, -3.3060414542221477E-8, 1.0E-12, "jauBi00", "depsbi"); - this.vvd(ret.dra, -7.078279744199226E-8, 1.0E-12, "jauBi00", "dra"); - } - - -@Test() - public t_bp00() { + vvd(ret.dpsibi, -2.0253091528350866E-7, 1.0E-12, "jauBi00", "dpsibi"); + vvd(ret.depsbi, -3.3060414542221477E-8, 1.0E-12, "jauBi00", "depsbi"); + vvd(ret.dra, -7.078279744199226E-8, 1.0E-12, "jauBi00", "dra"); + }); +test("t_bp00", () => { const rb: number[][] = TSOFA.CreateDimensionalArray([3, 3]); const rp: number[][] = TSOFA.CreateDimensionalArray([3, 3]); const rbp: number[][] = TSOFA.CreateDimensionalArray([3, 3]); TSOFA.jauBp00(2400000.5, 50123.9999, rb, rp, rbp); - this.vvd(rb[0][0], 0.9999999999999942, 1.0E-12, "jauBp00", "rb11"); - this.vvd(rb[0][1], -7.078279744199197E-8, 1.0E-16, "jauBp00", "rb12"); - this.vvd(rb[0][2], 8.056217146976134E-8, 1.0E-16, "jauBp00", "rb13"); - this.vvd(rb[1][0], 7.078279477857338E-8, 1.0E-16, "jauBp00", "rb21"); - this.vvd(rb[1][1], 0.999999999999997, 1.0E-12, "jauBp00", "rb22"); - this.vvd(rb[1][2], 3.3060414542221364E-8, 1.0E-16, "jauBp00", "rb23"); - this.vvd(rb[2][0], -8.056217380986972E-8, 1.0E-16, "jauBp00", "rb31"); - this.vvd(rb[2][1], -3.3060408839805523E-8, 1.0E-16, "jauBp00", "rb32"); - this.vvd(rb[2][2], 0.9999999999999962, 1.0E-12, "jauBp00", "rb33"); - this.vvd(rp[0][0], 0.9999995504864049, 1.0E-12, "jauBp00", "rp11"); - this.vvd(rp[0][1], 8.696113836207084E-4, 1.0E-14, "jauBp00", "rp12"); - this.vvd(rp[0][2], 3.778928813389333E-4, 1.0E-14, "jauBp00", "rp13"); - this.vvd(rp[1][0], -8.696113818227266E-4, 1.0E-14, "jauBp00", "rp21"); - this.vvd(rp[1][1], 0.9999996218879366, 1.0E-12, "jauBp00", "rp22"); - this.vvd(rp[1][2], -1.6906792630092422E-7, 1.0E-14, "jauBp00", "rp23"); - this.vvd(rp[2][0], -3.778928854764695E-4, 1.0E-14, "jauBp00", "rp31"); - this.vvd(rp[2][1], -1.5955210041952866E-7, 1.0E-14, "jauBp00", "rp32"); - this.vvd(rp[2][2], 0.9999999285984683, 1.0E-12, "jauBp00", "rp33"); - this.vvd(rbp[0][0], 0.9999995505175088, 1.0E-12, "jauBp00", "rbp11"); - this.vvd(rbp[0][1], 8.695405883617885E-4, 1.0E-14, "jauBp00", "rbp12"); - this.vvd(rbp[0][2], 3.779734722239007E-4, 1.0E-14, "jauBp00", "rbp13"); - this.vvd(rbp[1][0], -8.695405990410864E-4, 1.0E-14, "jauBp00", "rbp21"); - this.vvd(rbp[1][1], 0.9999996219494925, 1.0E-12, "jauBp00", "rbp22"); - this.vvd(rbp[1][2], -1.360775820404982E-7, 1.0E-14, "jauBp00", "rbp23"); - this.vvd(rbp[2][0], -3.779734476558185E-4, 1.0E-14, "jauBp00", "rbp31"); - this.vvd(rbp[2][1], -1.925857585832024E-7, 1.0E-14, "jauBp00", "rbp32"); - this.vvd(rbp[2][2], 0.9999999285680153, 1.0E-12, "jauBp00", "rbp33"); - } - @Test() - public t_bp06() { + vvd(rb[0][0], 0.9999999999999942, 1.0E-12, "jauBp00", "rb11"); + vvd(rb[0][1], -7.078279744199197E-8, 1.0E-16, "jauBp00", "rb12"); + vvd(rb[0][2], 8.056217146976134E-8, 1.0E-16, "jauBp00", "rb13"); + vvd(rb[1][0], 7.078279477857338E-8, 1.0E-16, "jauBp00", "rb21"); + vvd(rb[1][1], 0.999999999999997, 1.0E-12, "jauBp00", "rb22"); + vvd(rb[1][2], 3.3060414542221364E-8, 1.0E-16, "jauBp00", "rb23"); + vvd(rb[2][0], -8.056217380986972E-8, 1.0E-16, "jauBp00", "rb31"); + vvd(rb[2][1], -3.3060408839805523E-8, 1.0E-16, "jauBp00", "rb32"); + vvd(rb[2][2], 0.9999999999999962, 1.0E-12, "jauBp00", "rb33"); + vvd(rp[0][0], 0.9999995504864049, 1.0E-12, "jauBp00", "rp11"); + vvd(rp[0][1], 8.696113836207084E-4, 1.0E-14, "jauBp00", "rp12"); + vvd(rp[0][2], 3.778928813389333E-4, 1.0E-14, "jauBp00", "rp13"); + vvd(rp[1][0], -8.696113818227266E-4, 1.0E-14, "jauBp00", "rp21"); + vvd(rp[1][1], 0.9999996218879366, 1.0E-12, "jauBp00", "rp22"); + vvd(rp[1][2], -1.6906792630092422E-7, 1.0E-14, "jauBp00", "rp23"); + vvd(rp[2][0], -3.778928854764695E-4, 1.0E-14, "jauBp00", "rp31"); + vvd(rp[2][1], -1.5955210041952866E-7, 1.0E-14, "jauBp00", "rp32"); + vvd(rp[2][2], 0.9999999285984683, 1.0E-12, "jauBp00", "rp33"); + vvd(rbp[0][0], 0.9999995505175088, 1.0E-12, "jauBp00", "rbp11"); + vvd(rbp[0][1], 8.695405883617885E-4, 1.0E-14, "jauBp00", "rbp12"); + vvd(rbp[0][2], 3.779734722239007E-4, 1.0E-14, "jauBp00", "rbp13"); + vvd(rbp[1][0], -8.695405990410864E-4, 1.0E-14, "jauBp00", "rbp21"); + vvd(rbp[1][1], 0.9999996219494925, 1.0E-12, "jauBp00", "rbp22"); + vvd(rbp[1][2], -1.360775820404982E-7, 1.0E-14, "jauBp00", "rbp23"); + vvd(rbp[2][0], -3.779734476558185E-4, 1.0E-14, "jauBp00", "rbp31"); + vvd(rbp[2][1], -1.925857585832024E-7, 1.0E-14, "jauBp00", "rbp32"); + vvd(rbp[2][2], 0.9999999285680153, 1.0E-12, "jauBp00", "rbp33"); + }); +test("t_bp06", () => { const rb: number[][] = TSOFA.CreateDimensionalArray([3, 3]); const rp: number[][] = TSOFA.CreateDimensionalArray([3, 3]); const rbp: number[][] = TSOFA.CreateDimensionalArray([3, 3]); TSOFA.jauBp06(2400000.5, 50123.9999, rb, rp, rbp); - this.vvd(rb[0][0], 0.9999999999999942, 1.0E-12, "jauBp06", "rb11"); - this.vvd(rb[0][1], -7.078368960971557E-8, 1.0E-14, "jauBp06", "rb12"); - this.vvd(rb[0][2], 8.056213977613186E-8, 1.0E-14, "jauBp06", "rb13"); - this.vvd(rb[1][0], 7.078368694637675E-8, 1.0E-14, "jauBp06", "rb21"); - this.vvd(rb[1][1], 0.999999999999997, 1.0E-12, "jauBp06", "rb22"); - this.vvd(rb[1][2], 3.305943742989134E-8, 1.0E-14, "jauBp06", "rb23"); - this.vvd(rb[2][0], -8.056214211620056E-8, 1.0E-14, "jauBp06", "rb31"); - this.vvd(rb[2][1], -3.305943172740587E-8, 1.0E-14, "jauBp06", "rb32"); - this.vvd(rb[2][2], 0.9999999999999962, 1.0E-12, "jauBp06", "rb33"); - this.vvd(rp[0][0], 0.999999550486496, 1.0E-12, "jauBp06", "rp11"); - this.vvd(rp[0][1], 8.696112578855405E-4, 1.0E-14, "jauBp06", "rp12"); - this.vvd(rp[0][2], 3.77892929334139E-4, 1.0E-14, "jauBp06", "rp13"); - this.vvd(rp[1][0], -8.696112560510187E-4, 1.0E-14, "jauBp06", "rp21"); - this.vvd(rp[1][1], 0.9999996218880459, 1.0E-12, "jauBp06", "rp22"); - this.vvd(rp[1][2], -1.6916461689418963E-7, 1.0E-14, "jauBp06", "rp23"); - this.vvd(rp[2][0], -3.778929335557603E-4, 1.0E-14, "jauBp06", "rp31"); - this.vvd(rp[2][1], -1.594554040786495E-7, 1.0E-14, "jauBp06", "rp32"); - this.vvd(rp[2][2], 0.9999999285984501, 1.0E-12, "jauBp06", "rp33"); - this.vvd(rbp[0][0], 0.9999995505176007, 1.0E-12, "jauBp06", "rbp11"); - this.vvd(rbp[0][1], 8.695404617348209E-4, 1.0E-14, "jauBp06", "rbp12"); - this.vvd(rbp[0][2], 3.779735201865589E-4, 1.0E-14, "jauBp06", "rbp13"); - this.vvd(rbp[1][0], -8.695404723772031E-4, 1.0E-14, "jauBp06", "rbp21"); - this.vvd(rbp[1][1], 0.9999996219496027, 1.0E-12, "jauBp06", "rbp22"); - this.vvd(rbp[1][2], -1.3617524970802702E-7, 1.0E-14, "jauBp06", "rbp23"); - this.vvd(rbp[2][0], -3.7797349570340897E-4, 1.0E-14, "jauBp06", "rbp31"); - this.vvd(rbp[2][1], -1.924880847894457E-7, 1.0E-14, "jauBp06", "rbp32"); - this.vvd(rbp[2][2], 0.9999999285679972, 1.0E-12, "jauBp06", "rbp33"); - } - @Test() - public t_bpn2xy() { + vvd(rb[0][0], 0.9999999999999942, 1.0E-12, "jauBp06", "rb11"); + vvd(rb[0][1], -7.078368960971557E-8, 1.0E-14, "jauBp06", "rb12"); + vvd(rb[0][2], 8.056213977613186E-8, 1.0E-14, "jauBp06", "rb13"); + vvd(rb[1][0], 7.078368694637675E-8, 1.0E-14, "jauBp06", "rb21"); + vvd(rb[1][1], 0.999999999999997, 1.0E-12, "jauBp06", "rb22"); + vvd(rb[1][2], 3.305943742989134E-8, 1.0E-14, "jauBp06", "rb23"); + vvd(rb[2][0], -8.056214211620056E-8, 1.0E-14, "jauBp06", "rb31"); + vvd(rb[2][1], -3.305943172740587E-8, 1.0E-14, "jauBp06", "rb32"); + vvd(rb[2][2], 0.9999999999999962, 1.0E-12, "jauBp06", "rb33"); + vvd(rp[0][0], 0.999999550486496, 1.0E-12, "jauBp06", "rp11"); + vvd(rp[0][1], 8.696112578855405E-4, 1.0E-14, "jauBp06", "rp12"); + vvd(rp[0][2], 3.77892929334139E-4, 1.0E-14, "jauBp06", "rp13"); + vvd(rp[1][0], -8.696112560510187E-4, 1.0E-14, "jauBp06", "rp21"); + vvd(rp[1][1], 0.9999996218880459, 1.0E-12, "jauBp06", "rp22"); + vvd(rp[1][2], -1.6916461689418963E-7, 1.0E-14, "jauBp06", "rp23"); + vvd(rp[2][0], -3.778929335557603E-4, 1.0E-14, "jauBp06", "rp31"); + vvd(rp[2][1], -1.594554040786495E-7, 1.0E-14, "jauBp06", "rp32"); + vvd(rp[2][2], 0.9999999285984501, 1.0E-12, "jauBp06", "rp33"); + vvd(rbp[0][0], 0.9999995505176007, 1.0E-12, "jauBp06", "rbp11"); + vvd(rbp[0][1], 8.695404617348209E-4, 1.0E-14, "jauBp06", "rbp12"); + vvd(rbp[0][2], 3.779735201865589E-4, 1.0E-14, "jauBp06", "rbp13"); + vvd(rbp[1][0], -8.695404723772031E-4, 1.0E-14, "jauBp06", "rbp21"); + vvd(rbp[1][1], 0.9999996219496027, 1.0E-12, "jauBp06", "rbp22"); + vvd(rbp[1][2], -1.3617524970802702E-7, 1.0E-14, "jauBp06", "rbp23"); + vvd(rbp[2][0], -3.7797349570340897E-4, 1.0E-14, "jauBp06", "rbp31"); + vvd(rbp[2][1], -1.924880847894457E-7, 1.0E-14, "jauBp06", "rbp32"); + vvd(rbp[2][2], 0.9999999285679972, 1.0E-12, "jauBp06", "rbp33"); + }); +test("t_bpn2xy", () => { const rbpn: number[][] = TSOFA.CreateDimensionalArray([3, 3]); rbpn[0][0] = 0.9999962358680738; rbpn[0][1] = -0.002516417057665452; @@ -196,53 +184,49 @@ export class TSOFATest { rbpn[2][1] = -4.281337229063151E-5; rbpn[2][2] = 0.9999994012499173; const ret: TSOFA.CelestialIntermediatePole = TSOFA.jauBpn2xy(rbpn); - this.vvd(ret.x, 0.001093465510215479, 1.0E-12, "jauBpn2xy", "x"); - this.vvd(ret.y, -4.281337229063151E-5, 1.0E-12, "jauBpn2xy", "y"); - } - @Test() - public t_c2i00a() { + vvd(ret.x, 0.001093465510215479, 1.0E-12, "jauBpn2xy", "x"); + vvd(ret.y, -4.281337229063151E-5, 1.0E-12, "jauBpn2xy", "y"); + }); +test("t_c2i00a", () => { let rc2i: number[][]; rc2i = TSOFA.jauC2i00a(2400000.5, 53736.0); - this.vvd(rc2i[0][0], 0.9999998323037166, 1.0E-12, "jauC2i00a", "11"); - this.vvd(rc2i[0][1], 5.58152634899214E-10, 1.0E-12, "jauC2i00a", "12"); - this.vvd(rc2i[0][2], -5.791308477073444E-4, 1.0E-12, "jauC2i00a", "13"); - this.vvd(rc2i[1][0], -2.3842662278707524E-8, 1.0E-12, "jauC2i00a", "21"); - this.vvd(rc2i[1][1], 0.9999999991917405, 1.0E-12, "jauC2i00a", "22"); - this.vvd(rc2i[1][2], -4.02059495502821E-5, 1.0E-12, "jauC2i00a", "23"); - this.vvd(rc2i[2][0], 5.791308472168153E-4, 1.0E-12, "jauC2i00a", "31"); - this.vvd(rc2i[2][1], 4.0205956615915E-5, 1.0E-12, "jauC2i00a", "32"); - this.vvd(rc2i[2][2], 0.9999998314954572, 1.0E-12, "jauC2i00a", "33"); - } - @Test() - public t_c2i00b() { + vvd(rc2i[0][0], 0.9999998323037166, 1.0E-12, "jauC2i00a", "11"); + vvd(rc2i[0][1], 5.58152634899214E-10, 1.0E-12, "jauC2i00a", "12"); + vvd(rc2i[0][2], -5.791308477073444E-4, 1.0E-12, "jauC2i00a", "13"); + vvd(rc2i[1][0], -2.3842662278707524E-8, 1.0E-12, "jauC2i00a", "21"); + vvd(rc2i[1][1], 0.9999999991917405, 1.0E-12, "jauC2i00a", "22"); + vvd(rc2i[1][2], -4.02059495502821E-5, 1.0E-12, "jauC2i00a", "23"); + vvd(rc2i[2][0], 5.791308472168153E-4, 1.0E-12, "jauC2i00a", "31"); + vvd(rc2i[2][1], 4.0205956615915E-5, 1.0E-12, "jauC2i00a", "32"); + vvd(rc2i[2][2], 0.9999998314954572, 1.0E-12, "jauC2i00a", "33"); + }); +test("t_c2i00b", () => { let rc2i: number[][] = TSOFA.CreateDimensionalArray([3, 3]); rc2i = TSOFA.jauC2i00b(2400000.5, 53736.0); - this.vvd(rc2i[0][0], 0.9999998323040954, 1.0E-12, "jauC2i00b", "11"); - this.vvd(rc2i[0][1], 5.581526349131824E-10, 1.0E-12, "jauC2i00b", "12"); - this.vvd(rc2i[0][2], -5.791301934855394E-4, 1.0E-12, "jauC2i00b", "13"); - this.vvd(rc2i[1][0], -2.3842392854991757E-8, 1.0E-12, "jauC2i00b", "21"); - this.vvd(rc2i[1][1], 0.9999999991917574, 1.0E-12, "jauC2i00b", "22"); - this.vvd(rc2i[1][2], -4.02055297481903E-5, 1.0E-12, "jauC2i00b", "23"); - this.vvd(rc2i[2][0], 5.791301929950209E-4, 1.0E-12, "jauC2i00b", "31"); - this.vvd(rc2i[2][1], 4.0205536813737205E-5, 1.0E-12, "jauC2i00b", "32"); - this.vvd(rc2i[2][2], 0.999999831495853, 1.0E-12, "jauC2i00b", "33"); - } - @Test() - public t_c2i06a() { + vvd(rc2i[0][0], 0.9999998323040954, 1.0E-12, "jauC2i00b", "11"); + vvd(rc2i[0][1], 5.581526349131824E-10, 1.0E-12, "jauC2i00b", "12"); + vvd(rc2i[0][2], -5.791301934855394E-4, 1.0E-12, "jauC2i00b", "13"); + vvd(rc2i[1][0], -2.3842392854991757E-8, 1.0E-12, "jauC2i00b", "21"); + vvd(rc2i[1][1], 0.9999999991917574, 1.0E-12, "jauC2i00b", "22"); + vvd(rc2i[1][2], -4.02055297481903E-5, 1.0E-12, "jauC2i00b", "23"); + vvd(rc2i[2][0], 5.791301929950209E-4, 1.0E-12, "jauC2i00b", "31"); + vvd(rc2i[2][1], 4.0205536813737205E-5, 1.0E-12, "jauC2i00b", "32"); + vvd(rc2i[2][2], 0.999999831495853, 1.0E-12, "jauC2i00b", "33"); + }); +test("t_c2i06a", () => { let rc2i: number[][] = TSOFA.CreateDimensionalArray([3, 3]); rc2i = TSOFA.jauC2i06a(2400000.5, 53736.0); - this.vvd(rc2i[0][0], 0.9999998323037159, 1.0E-12, "jauC2i06a", "11"); - this.vvd(rc2i[0][1], 5.581121329587614E-10, 1.0E-12, "jauC2i06a", "12"); - this.vvd(rc2i[0][2], -5.79130848774053E-4, 1.0E-12, "jauC2i06a", "13"); - this.vvd(rc2i[1][0], -2.3842531694523067E-8, 1.0E-12, "jauC2i06a", "21"); - this.vvd(rc2i[1][1], 0.9999999991917468, 1.0E-12, "jauC2i06a", "22"); - this.vvd(rc2i[1][2], -4.020579392895682E-5, 1.0E-12, "jauC2i06a", "23"); - this.vvd(rc2i[2][0], 5.791308482835292E-4, 1.0E-12, "jauC2i06a", "31"); - this.vvd(rc2i[2][1], 4.0205800994540205E-5, 1.0E-12, "jauC2i06a", "32"); - this.vvd(rc2i[2][2], 0.9999998314954629, 1.0E-12, "jauC2i06a", "33"); - } - @Test() - public t_c2ibpn() { + vvd(rc2i[0][0], 0.9999998323037159, 1.0E-12, "jauC2i06a", "11"); + vvd(rc2i[0][1], 5.581121329587614E-10, 1.0E-12, "jauC2i06a", "12"); + vvd(rc2i[0][2], -5.79130848774053E-4, 1.0E-12, "jauC2i06a", "13"); + vvd(rc2i[1][0], -2.3842531694523067E-8, 1.0E-12, "jauC2i06a", "21"); + vvd(rc2i[1][1], 0.9999999991917468, 1.0E-12, "jauC2i06a", "22"); + vvd(rc2i[1][2], -4.020579392895682E-5, 1.0E-12, "jauC2i06a", "23"); + vvd(rc2i[2][0], 5.791308482835292E-4, 1.0E-12, "jauC2i06a", "31"); + vvd(rc2i[2][1], 4.0205800994540205E-5, 1.0E-12, "jauC2i06a", "32"); + vvd(rc2i[2][2], 0.9999998314954629, 1.0E-12, "jauC2i06a", "33"); + }); +test("t_c2ibpn", () => { const rbpn: number[][] = TSOFA.CreateDimensionalArray([3, 3]); let rc2i: number[][] = TSOFA.CreateDimensionalArray([3, 3]); rbpn[0][0] = 0.9999962358680738; @@ -255,35 +239,33 @@ export class TSOFATest { rbpn[2][1] = -4.281337229063151E-5; rbpn[2][2] = 0.9999994012499173; rc2i = TSOFA.jauC2ibpn(2400000.5, 50123.9999, rbpn); - this.vvd(rc2i[0][0], 0.999999402166409, 1.0E-12, "jauC2ibpn", "11"); - this.vvd(rc2i[0][1], -3.869195948017504E-9, 1.0E-12, "jauC2ibpn", "12"); - this.vvd(rc2i[0][2], -0.0010934655113832852, 1.0E-12, "jauC2ibpn", "13"); - this.vvd(rc2i[1][0], 5.068413965715446E-8, 1.0E-12, "jauC2ibpn", "21"); - this.vvd(rc2i[1][1], 0.9999999990835076, 1.0E-12, "jauC2ibpn", "22"); - this.vvd(rc2i[1][2], 4.281334246452709E-5, 1.0E-12, "jauC2ibpn", "23"); - this.vvd(rc2i[2][0], 0.001093465510215479, 1.0E-12, "jauC2ibpn", "31"); - this.vvd(rc2i[2][1], -4.281337229063151E-5, 1.0E-12, "jauC2ibpn", "32"); - this.vvd(rc2i[2][2], 0.9999994012499173, 1.0E-12, "jauC2ibpn", "33"); - } - @Test() - public t_c2ixy() { + vvd(rc2i[0][0], 0.999999402166409, 1.0E-12, "jauC2ibpn", "11"); + vvd(rc2i[0][1], -3.869195948017504E-9, 1.0E-12, "jauC2ibpn", "12"); + vvd(rc2i[0][2], -0.0010934655113832852, 1.0E-12, "jauC2ibpn", "13"); + vvd(rc2i[1][0], 5.068413965715446E-8, 1.0E-12, "jauC2ibpn", "21"); + vvd(rc2i[1][1], 0.9999999990835076, 1.0E-12, "jauC2ibpn", "22"); + vvd(rc2i[1][2], 4.281334246452709E-5, 1.0E-12, "jauC2ibpn", "23"); + vvd(rc2i[2][0], 0.001093465510215479, 1.0E-12, "jauC2ibpn", "31"); + vvd(rc2i[2][1], -4.281337229063151E-5, 1.0E-12, "jauC2ibpn", "32"); + vvd(rc2i[2][2], 0.9999994012499173, 1.0E-12, "jauC2ibpn", "33"); + }); +test("t_c2ixy", () => { let x: number; let y: number; x = 5.791308486706011E-4; y = 4.020579816732961E-5; const rc2i = TSOFA.jauC2ixy(2400000.5, 53736, x, y); - this.vvd(rc2i[0][0], 0.9999998323037157, 1.0E-12, "jauC2ixy", "11"); - this.vvd(rc2i[0][1], 5.581526349032241E-10, 1.0E-12, "jauC2ixy", "12"); - this.vvd(rc2i[0][2], -5.791308491611264E-4, 1.0E-12, "jauC2ixy", "13"); - this.vvd(rc2i[1][0], -2.384257057469843E-8, 1.0E-12, "jauC2ixy", "21"); - this.vvd(rc2i[1][1], 0.9999999991917469, 1.0E-12, "jauC2ixy", "22"); - this.vvd(rc2i[1][2], -4.0205791101723245E-5, 1.0E-12, "jauC2ixy", "23"); - this.vvd(rc2i[2][0], 5.791308486706011E-4, 1.0E-12, "jauC2ixy", "31"); - this.vvd(rc2i[2][1], 4.020579816732961E-5, 1.0E-12, "jauC2ixy", "32"); - this.vvd(rc2i[2][2], 0.9999998314954628, 1.0E-12, "jauC2ixy", "33"); - } - @Test() - public t_c2ixys() { + vvd(rc2i[0][0], 0.9999998323037157, 1.0E-12, "jauC2ixy", "11"); + vvd(rc2i[0][1], 5.581526349032241E-10, 1.0E-12, "jauC2ixy", "12"); + vvd(rc2i[0][2], -5.791308491611264E-4, 1.0E-12, "jauC2ixy", "13"); + vvd(rc2i[1][0], -2.384257057469843E-8, 1.0E-12, "jauC2ixy", "21"); + vvd(rc2i[1][1], 0.9999999991917469, 1.0E-12, "jauC2ixy", "22"); + vvd(rc2i[1][2], -4.0205791101723245E-5, 1.0E-12, "jauC2ixy", "23"); + vvd(rc2i[2][0], 5.791308486706011E-4, 1.0E-12, "jauC2ixy", "31"); + vvd(rc2i[2][1], 4.020579816732961E-5, 1.0E-12, "jauC2ixy", "32"); + vvd(rc2i[2][2], 0.9999998314954628, 1.0E-12, "jauC2ixy", "33"); + }); +test("t_c2ixys", () => { let x: number; let y: number; let s: number; @@ -292,28 +274,26 @@ export class TSOFATest { y = 4.020579816732961E-5; s = -1.220040848472272E-8; const rc2i = TSOFA.jauC2ixys(x, y, s); - this.vvd(rc2i[0][0], 0.9999998323037157, 1.0E-12, "jauC2ixys", "11"); - this.vvd(rc2i[0][1], 5.581984869168499E-10, 1.0E-12, "jauC2ixys", "12"); - this.vvd(rc2i[0][2], -5.791308491611282E-4, 1.0E-12, "jauC2ixys", "13"); - this.vvd(rc2i[1][0], -2.3842616426704402E-8, 1.0E-12, "jauC2ixys", "21"); - this.vvd(rc2i[1][1], 0.9999999991917469, 1.0E-12, "jauC2ixys", "22"); - this.vvd(rc2i[1][2], -4.020579110169669E-5, 1.0E-12, "jauC2ixys", "23"); - this.vvd(rc2i[2][0], 5.791308486706011E-4, 1.0E-12, "jauC2ixys", "31"); - this.vvd(rc2i[2][1], 4.020579816732961E-5, 1.0E-12, "jauC2ixys", "32"); - this.vvd(rc2i[2][2], 0.9999998314954628, 1.0E-12, "jauC2ixys", "33"); - } - @Test() - public t_c2s() { + vvd(rc2i[0][0], 0.9999998323037157, 1.0E-12, "jauC2ixys", "11"); + vvd(rc2i[0][1], 5.581984869168499E-10, 1.0E-12, "jauC2ixys", "12"); + vvd(rc2i[0][2], -5.791308491611282E-4, 1.0E-12, "jauC2ixys", "13"); + vvd(rc2i[1][0], -2.3842616426704402E-8, 1.0E-12, "jauC2ixys", "21"); + vvd(rc2i[1][1], 0.9999999991917469, 1.0E-12, "jauC2ixys", "22"); + vvd(rc2i[1][2], -4.020579110169669E-5, 1.0E-12, "jauC2ixys", "23"); + vvd(rc2i[2][0], 5.791308486706011E-4, 1.0E-12, "jauC2ixys", "31"); + vvd(rc2i[2][1], 4.020579816732961E-5, 1.0E-12, "jauC2ixys", "32"); + vvd(rc2i[2][2], 0.9999998314954628, 1.0E-12, "jauC2ixys", "33"); + }); +test("t_c2s", () => { const p: number[] = [0, 0, 0]; p[0] = 100.0; p[1] = -50.0; p[2] = 25.0; const ret: TSOFA.SphericalCoordinate = TSOFA.jauC2s(p); - this.vvd(ret.alpha, -0.4636476090008061, 1.0E-14, "jauC2s", "theta"); - this.vvd(ret.delta, 0.21998797739545944, 1.0E-14, "jauC2s", "phi"); - } - @Test() - public t_c2t00a() { + vvd(ret.alpha, -0.4636476090008061, 1.0E-14, "jauC2s", "theta"); + vvd(ret.delta, 0.21998797739545944, 1.0E-14, "jauC2s", "phi"); + }); +test("t_c2t00a", () => { let tta: number; let ttb: number; let uta: number; @@ -328,18 +308,17 @@ export class TSOFATest { xp = 2.55060238E-7; yp = 1.860359247E-6; const rc2t = TSOFA.jauC2t00a(tta, ttb, uta, utb, xp, yp); - this.vvd(rc2t[0][0], -0.18103321283071827, 1.0E-12, "jauC2t00a", "11"); - this.vvd(rc2t[0][1], 0.9834769806938458, 1.0E-12, "jauC2t00a", "12"); - this.vvd(rc2t[0][2], 6.555535638688342E-5, 1.0E-12, "jauC2t00a", "13"); - this.vvd(rc2t[1][0], -0.9834768134135985, 1.0E-12, "jauC2t00a", "21"); - this.vvd(rc2t[1][1], -0.18103322036495206, 1.0E-12, "jauC2t00a", "22"); - this.vvd(rc2t[1][2], 5.749801116141057E-4, 1.0E-12, "jauC2t00a", "23"); - this.vvd(rc2t[2][0], 5.773474014081406E-4, 1.0E-12, "jauC2t00a", "31"); - this.vvd(rc2t[2][1], 3.9618323917701634E-5, 1.0E-12, "jauC2t00a", "32"); - this.vvd(rc2t[2][2], 0.9999998325501692, 1.0E-12, "jauC2t00a", "33"); - } - @Test() - public t_c2t00b() { + vvd(rc2t[0][0], -0.18103321283071827, 1.0E-12, "jauC2t00a", "11"); + vvd(rc2t[0][1], 0.9834769806938458, 1.0E-12, "jauC2t00a", "12"); + vvd(rc2t[0][2], 6.555535638688342E-5, 1.0E-12, "jauC2t00a", "13"); + vvd(rc2t[1][0], -0.9834768134135985, 1.0E-12, "jauC2t00a", "21"); + vvd(rc2t[1][1], -0.18103322036495206, 1.0E-12, "jauC2t00a", "22"); + vvd(rc2t[1][2], 5.749801116141057E-4, 1.0E-12, "jauC2t00a", "23"); + vvd(rc2t[2][0], 5.773474014081406E-4, 1.0E-12, "jauC2t00a", "31"); + vvd(rc2t[2][1], 3.9618323917701634E-5, 1.0E-12, "jauC2t00a", "32"); + vvd(rc2t[2][2], 0.9999998325501692, 1.0E-12, "jauC2t00a", "33"); + }); +test("t_c2t00b", () => { let tta: number; let ttb: number; let uta: number; @@ -353,18 +332,17 @@ export class TSOFATest { xp = 2.55060238E-7; yp = 1.860359247E-6; const rc2t = TSOFA.jauC2t00b(tta, ttb, uta, utb, xp, yp); - this.vvd(rc2t[0][0], -0.1810332128439679, 1.0E-12, "jauC2t00b", "11"); - this.vvd(rc2t[0][1], 0.9834769806913872, 1.0E-12, "jauC2t00b", "12"); - this.vvd(rc2t[0][2], 6.555565082458416E-5, 1.0E-12, "jauC2t00b", "13"); - this.vvd(rc2t[1][0], -0.9834768134115436, 1.0E-12, "jauC2t00b", "21"); - this.vvd(rc2t[1][1], -0.1810332203784002, 1.0E-12, "jauC2t00b", "22"); - this.vvd(rc2t[1][2], 5.749793922030017E-4, 1.0E-12, "jauC2t00b", "23"); - this.vvd(rc2t[2][0], 5.773467471863534E-4, 1.0E-12, "jauC2t00b", "31"); - this.vvd(rc2t[2][1], 3.961790411549945E-5, 1.0E-12, "jauC2t00b", "32"); - this.vvd(rc2t[2][2], 0.9999998325505636, 1.0E-12, "jauC2t00b", "33"); - } - @Test() - public t_c2t06a() { + vvd(rc2t[0][0], -0.1810332128439679, 1.0E-12, "jauC2t00b", "11"); + vvd(rc2t[0][1], 0.9834769806913872, 1.0E-12, "jauC2t00b", "12"); + vvd(rc2t[0][2], 6.555565082458416E-5, 1.0E-12, "jauC2t00b", "13"); + vvd(rc2t[1][0], -0.9834768134115436, 1.0E-12, "jauC2t00b", "21"); + vvd(rc2t[1][1], -0.1810332203784002, 1.0E-12, "jauC2t00b", "22"); + vvd(rc2t[1][2], 5.749793922030017E-4, 1.0E-12, "jauC2t00b", "23"); + vvd(rc2t[2][0], 5.773467471863534E-4, 1.0E-12, "jauC2t00b", "31"); + vvd(rc2t[2][1], 3.961790411549945E-5, 1.0E-12, "jauC2t00b", "32"); + vvd(rc2t[2][2], 0.9999998325505636, 1.0E-12, "jauC2t00b", "33"); + }); +test("t_c2t06a", () => { let tta: number; let ttb: number; let uta: number; @@ -378,18 +356,17 @@ export class TSOFATest { xp = 2.55060238E-7; yp = 1.860359247E-6; const rc2t = TSOFA.jauC2t06a(tta, ttb, uta, utb, xp, yp); - this.vvd(rc2t[0][0], -0.18103321283058973, 1.0E-12, "jauC2t06a", "11"); - this.vvd(rc2t[0][1], 0.9834769806938592, 1.0E-12, "jauC2t06a", "12"); - this.vvd(rc2t[0][2], 6.555550962998436E-5, 1.0E-12, "jauC2t06a", "13"); - this.vvd(rc2t[1][0], -0.9834768134136215, 1.0E-12, "jauC2t06a", "21"); - this.vvd(rc2t[1][1], -0.1810332203649131, 1.0E-12, "jauC2t06a", "22"); - this.vvd(rc2t[1][2], 5.749800844905594E-4, 1.0E-12, "jauC2t06a", "23"); - this.vvd(rc2t[2][0], 5.773474024748546E-4, 1.0E-12, "jauC2t06a", "31"); - this.vvd(rc2t[2][1], 3.9618168296326906E-5, 1.0E-12, "jauC2t06a", "32"); - this.vvd(rc2t[2][2], 0.9999998325501748, 1.0E-12, "jauC2t06a", "33"); - } - @Test() - public t_c2tcio() { + vvd(rc2t[0][0], -0.18103321283058973, 1.0E-12, "jauC2t06a", "11"); + vvd(rc2t[0][1], 0.9834769806938592, 1.0E-12, "jauC2t06a", "12"); + vvd(rc2t[0][2], 6.555550962998436E-5, 1.0E-12, "jauC2t06a", "13"); + vvd(rc2t[1][0], -0.9834768134136215, 1.0E-12, "jauC2t06a", "21"); + vvd(rc2t[1][1], -0.1810332203649131, 1.0E-12, "jauC2t06a", "22"); + vvd(rc2t[1][2], 5.749800844905594E-4, 1.0E-12, "jauC2t06a", "23"); + vvd(rc2t[2][0], 5.773474024748546E-4, 1.0E-12, "jauC2t06a", "31"); + vvd(rc2t[2][1], 3.9618168296326906E-5, 1.0E-12, "jauC2t06a", "32"); + vvd(rc2t[2][2], 0.9999998325501748, 1.0E-12, "jauC2t06a", "33"); + }); +test("t_c2tcio", () => { const rc2i: number[][] = TSOFA.CreateDimensionalArray([3, 3]); let era: number; const rpom: number[][] = TSOFA.CreateDimensionalArray([3, 3]); @@ -414,18 +391,17 @@ export class TSOFATest { rpom[2][1] = 1.860359247002414E-6; rpom[2][2] = 0.999999999998237; rc2t = TSOFA.jauC2tcio(rc2i, era, rpom); - this.vvd(rc2t[0][0], -0.18103321283071105, 1.0E-12, "jauC2tcio", "11"); - this.vvd(rc2t[0][1], 0.983476980693847, 1.0E-12, "jauC2tcio", "12"); - this.vvd(rc2t[0][2], 6.555535638685467E-5, 1.0E-12, "jauC2tcio", "13"); - this.vvd(rc2t[1][0], -0.9834768134135997, 1.0E-12, "jauC2tcio", "21"); - this.vvd(rc2t[1][1], -0.18103322036494485, 1.0E-12, "jauC2tcio", "22"); - this.vvd(rc2t[1][2], 5.749801116141106E-4, 1.0E-12, "jauC2tcio", "23"); - this.vvd(rc2t[2][0], 5.773474014081407E-4, 1.0E-12, "jauC2tcio", "31"); - this.vvd(rc2t[2][1], 3.961832391772659E-5, 1.0E-12, "jauC2tcio", "32"); - this.vvd(rc2t[2][2], 0.9999998325501692, 1.0E-12, "jauC2tcio", "33"); - } - @Test() - public t_c2teqx() { + vvd(rc2t[0][0], -0.18103321283071105, 1.0E-12, "jauC2tcio", "11"); + vvd(rc2t[0][1], 0.983476980693847, 1.0E-12, "jauC2tcio", "12"); + vvd(rc2t[0][2], 6.555535638685467E-5, 1.0E-12, "jauC2tcio", "13"); + vvd(rc2t[1][0], -0.9834768134135997, 1.0E-12, "jauC2tcio", "21"); + vvd(rc2t[1][1], -0.18103322036494485, 1.0E-12, "jauC2tcio", "22"); + vvd(rc2t[1][2], 5.749801116141106E-4, 1.0E-12, "jauC2tcio", "23"); + vvd(rc2t[2][0], 5.773474014081407E-4, 1.0E-12, "jauC2tcio", "31"); + vvd(rc2t[2][1], 3.961832391772659E-5, 1.0E-12, "jauC2tcio", "32"); + vvd(rc2t[2][2], 0.9999998325501692, 1.0E-12, "jauC2tcio", "33"); + }); +test("t_c2teqx", () => { const rbpn: number[][] = TSOFA.CreateDimensionalArray([3, 3]); let gst: number; const rpom: number[][] = TSOFA.CreateDimensionalArray([3, 3]); @@ -450,18 +426,17 @@ export class TSOFATest { rpom[2][1] = 1.860359247002414E-6; rpom[2][2] = 0.999999999998237; rc2t = TSOFA.jauC2teqx(rbpn, gst, rpom); - this.vvd(rc2t[0][0], -0.18103321285286858, 1.0E-12, "jauC2teqx", "11"); - this.vvd(rc2t[0][1], 0.9834769806897685, 1.0E-12, "jauC2teqx", "12"); - this.vvd(rc2t[0][2], 6.555535639982635E-5, 1.0E-12, "jauC2teqx", "13"); - this.vvd(rc2t[1][0], -0.9834768134095211, 1.0E-12, "jauC2teqx", "21"); - this.vvd(rc2t[1][1], -0.18103322038710237, 1.0E-12, "jauC2teqx", "22"); - this.vvd(rc2t[1][2], 5.749801116126439E-4, 1.0E-12, "jauC2teqx", "23"); - this.vvd(rc2t[2][0], 5.77347401408154E-4, 1.0E-12, "jauC2teqx", "31"); - this.vvd(rc2t[2][1], 3.961832391768641E-5, 1.0E-12, "jauC2teqx", "32"); - this.vvd(rc2t[2][2], 0.9999998325501692, 1.0E-12, "jauC2teqx", "33"); - } - @Test() - public t_c2tpe() { + vvd(rc2t[0][0], -0.18103321285286858, 1.0E-12, "jauC2teqx", "11"); + vvd(rc2t[0][1], 0.9834769806897685, 1.0E-12, "jauC2teqx", "12"); + vvd(rc2t[0][2], 6.555535639982635E-5, 1.0E-12, "jauC2teqx", "13"); + vvd(rc2t[1][0], -0.9834768134095211, 1.0E-12, "jauC2teqx", "21"); + vvd(rc2t[1][1], -0.18103322038710237, 1.0E-12, "jauC2teqx", "22"); + vvd(rc2t[1][2], 5.749801116126439E-4, 1.0E-12, "jauC2teqx", "23"); + vvd(rc2t[2][0], 5.77347401408154E-4, 1.0E-12, "jauC2teqx", "31"); + vvd(rc2t[2][1], 3.961832391768641E-5, 1.0E-12, "jauC2teqx", "32"); + vvd(rc2t[2][2], 0.9999998325501692, 1.0E-12, "jauC2teqx", "33"); + }); +test("t_c2tpe", () => { let tta: number; let ttb: number; let uta: number; @@ -479,18 +454,17 @@ export class TSOFATest { xp = 2.55060238E-7; yp = 1.860359247E-6; const rc2t = TSOFA.jauC2tpe(tta, ttb, uta, utb, dpsi, deps, xp, yp); - this.vvd(rc2t[0][0], -0.18136779957630295, 1.0E-12, "jauC2tpe", "11"); - this.vvd(rc2t[0][1], 0.9023482206891683, 1.0E-12, "jauC2tpe", "12"); - this.vvd(rc2t[0][2], -0.39099029386410855, 1.0E-12, "jauC2tpe", "13"); - this.vvd(rc2t[1][0], -0.9834147641476805, 1.0E-12, "jauC2tpe", "21"); - this.vvd(rc2t[1][1], -0.16598836354349952, 1.0E-12, "jauC2tpe", "22"); - this.vvd(rc2t[1][2], 0.0730976389804282, 1.0E-12, "jauC2tpe", "23"); - this.vvd(rc2t[2][0], 0.0010596854306732153, 1.0E-12, "jauC2tpe", "31"); - this.vvd(rc2t[2][1], 0.3977631855605079, 1.0E-12, "jauC2tpe", "32"); - this.vvd(rc2t[2][2], 0.9174875068792735, 1.0E-12, "jauC2tpe", "33"); - } - @Test() - public t_c2txy() { + vvd(rc2t[0][0], -0.18136779957630295, 1.0E-12, "jauC2tpe", "11"); + vvd(rc2t[0][1], 0.9023482206891683, 1.0E-12, "jauC2tpe", "12"); + vvd(rc2t[0][2], -0.39099029386410855, 1.0E-12, "jauC2tpe", "13"); + vvd(rc2t[1][0], -0.9834147641476805, 1.0E-12, "jauC2tpe", "21"); + vvd(rc2t[1][1], -0.16598836354349952, 1.0E-12, "jauC2tpe", "22"); + vvd(rc2t[1][2], 0.0730976389804282, 1.0E-12, "jauC2tpe", "23"); + vvd(rc2t[2][0], 0.0010596854306732153, 1.0E-12, "jauC2tpe", "31"); + vvd(rc2t[2][1], 0.3977631855605079, 1.0E-12, "jauC2tpe", "32"); + vvd(rc2t[2][2], 0.9174875068792735, 1.0E-12, "jauC2tpe", "33"); + }); +test("t_c2txy", () => { let tta: number; let ttb: number; let uta: number; @@ -508,39 +482,36 @@ export class TSOFATest { xp = 2.55060238E-7; yp = 1.860359247E-6; const rc2t = TSOFA.jauC2txy(tta, ttb, uta, utb, x, y, xp, yp); - this.vvd(rc2t[0][0], -0.18103321283062793, 1.0E-12, "jauC2txy", "11"); - this.vvd(rc2t[0][1], 0.983476980693852, 1.0E-12, "jauC2txy", "12"); - this.vvd(rc2t[0][2], 6.555551248057666E-5, 1.0E-12, "jauC2txy", "13"); - this.vvd(rc2t[1][0], -0.9834768134136143, 1.0E-12, "jauC2txy", "21"); - this.vvd(rc2t[1][1], -0.18103322036495292, 1.0E-12, "jauC2txy", "22"); - this.vvd(rc2t[1][2], 5.74980084359414E-4, 1.0E-12, "jauC2txy", "23"); - this.vvd(rc2t[2][0], 5.773474028619264E-4, 1.0E-12, "jauC2txy", "31"); - this.vvd(rc2t[2][1], 3.9618165469116246E-5, 1.0E-12, "jauC2txy", "32"); - this.vvd(rc2t[2][2], 0.9999998325501747, 1.0E-12, "jauC2txy", "33"); - } - @Test() - public t_cal2jd() { + vvd(rc2t[0][0], -0.18103321283062793, 1.0E-12, "jauC2txy", "11"); + vvd(rc2t[0][1], 0.983476980693852, 1.0E-12, "jauC2txy", "12"); + vvd(rc2t[0][2], 6.555551248057666E-5, 1.0E-12, "jauC2txy", "13"); + vvd(rc2t[1][0], -0.9834768134136143, 1.0E-12, "jauC2txy", "21"); + vvd(rc2t[1][1], -0.18103322036495292, 1.0E-12, "jauC2txy", "22"); + vvd(rc2t[1][2], 5.74980084359414E-4, 1.0E-12, "jauC2txy", "23"); + vvd(rc2t[2][0], 5.773474028619264E-4, 1.0E-12, "jauC2txy", "31"); + vvd(rc2t[2][1], 3.9618165469116246E-5, 1.0E-12, "jauC2txy", "32"); + vvd(rc2t[2][2], 0.9999998325501747, 1.0E-12, "jauC2txy", "33"); + }); +test("t_cal2jd", () => { try { const jd: TSOFA.JulianDate = TSOFA.jauCal2jd(2003, 6, 1); - this.vvd(jd.djm0, 2400000.5, 0.0, "jauCal2jd", "djm0"); - this.vvd(jd.djm1, 52791.0, 0.0, "jauCal2jd", "djm"); + vvd(jd.djm0, 2400000.5, 0.0, "jauCal2jd", "djm0"); + vvd(jd.djm1, 52791.0, 0.0, "jauCal2jd", "djm"); } catch(e) { } - } - @Test() - public t_cp() { + }); +test("t_cp", () => { const p: number[] = [0, 0, 0]; const c: number[] = [0, 0, 0]; p[0] = 0.3; p[1] = 1.2; p[2] = -2.5; TSOFA.jauCp(p, c); - this.vvd(c[0], 0.3, 0.0, "jauCp", "1"); - this.vvd(c[1], 1.2, 0.0, "jauCp", "2"); - this.vvd(c[2], -2.5, 0.0, "jauCp", "3"); - } - @Test() - public t_cpv() { + vvd(c[0], 0.3, 0.0, "jauCp", "1"); + vvd(c[1], 1.2, 0.0, "jauCp", "2"); + vvd(c[2], -2.5, 0.0, "jauCp", "3"); + }); +test("t_cpv", () => { const pv: number[][] = TSOFA.CreateDimensionalArray([2, 3]); const c: number[][] = TSOFA.CreateDimensionalArray([2, 3]); pv[0][0] = 0.3; @@ -550,15 +521,14 @@ export class TSOFATest { pv[1][1] = 3.1; pv[1][2] = 0.9; TSOFA.jauCpv(pv, c); - this.vvd(c[0][0], 0.3, 0.0, "jauCpv", "p1"); - this.vvd(c[0][1], 1.2, 0.0, "jauCpv", "p2"); - this.vvd(c[0][2], -2.5, 0.0, "jauCpv", "p3"); - this.vvd(c[1][0], -0.5, 0.0, "jauCpv", "v1"); - this.vvd(c[1][1], 3.1, 0.0, "jauCpv", "v2"); - this.vvd(c[1][2], 0.9, 0.0, "jauCpv", "v3"); - } - @Test() - public t_cr() { + vvd(c[0][0], 0.3, 0.0, "jauCpv", "p1"); + vvd(c[0][1], 1.2, 0.0, "jauCpv", "p2"); + vvd(c[0][2], -2.5, 0.0, "jauCpv", "p3"); + vvd(c[1][0], -0.5, 0.0, "jauCpv", "v1"); + vvd(c[1][1], 3.1, 0.0, "jauCpv", "v2"); + vvd(c[1][2], 0.9, 0.0, "jauCpv", "v3"); + }); +test("t_cr", () => { const r: number[][] = TSOFA.CreateDimensionalArray([3, 3]); const c: number[][] = TSOFA.CreateDimensionalArray([3, 3]); r[0][0] = 2.0; @@ -571,92 +541,83 @@ export class TSOFATest { r[2][1] = 4.0; r[2][2] = 5.0; TSOFA.jauCr(r, c); - this.vvd(c[0][0], 2.0, 0.0, "jauCr", "11"); - this.vvd(c[0][1], 3.0, 0.0, "jauCr", "12"); - this.vvd(c[0][2], 2.0, 0.0, "jauCr", "13"); - this.vvd(c[1][0], 3.0, 0.0, "jauCr", "21"); - this.vvd(c[1][1], 2.0, 0.0, "jauCr", "22"); - this.vvd(c[1][2], 3.0, 0.0, "jauCr", "23"); - this.vvd(c[2][0], 3.0, 0.0, "jauCr", "31"); - this.vvd(c[2][1], 4.0, 0.0, "jauCr", "32"); - this.vvd(c[2][2], 5.0, 0.0, "jauCr", "33"); - } - @Test() - public t_d2tf() { + vvd(c[0][0], 2.0, 0.0, "jauCr", "11"); + vvd(c[0][1], 3.0, 0.0, "jauCr", "12"); + vvd(c[0][2], 2.0, 0.0, "jauCr", "13"); + vvd(c[1][0], 3.0, 0.0, "jauCr", "21"); + vvd(c[1][1], 2.0, 0.0, "jauCr", "22"); + vvd(c[1][2], 3.0, 0.0, "jauCr", "23"); + vvd(c[2][0], 3.0, 0.0, "jauCr", "31"); + vvd(c[2][1], 4.0, 0.0, "jauCr", "32"); + vvd(c[2][2], 5.0, 0.0, "jauCr", "33"); + }); +test("t_d2tf", () => { const ihmsf: number[] = [0, 0, 0, 0]; let s: string; s = TSOFA.jauD2tf(4, -0.987654321, ihmsf); - this.viv((s).charCodeAt(0), ('-').charCodeAt(0), "jauD2tf", "s"); - this.viv(ihmsf[0], 23, "jauD2tf", "0"); - this.viv(ihmsf[1], 42, "jauD2tf", "1"); - this.viv(ihmsf[2], 13, "jauD2tf", "2"); - this.viv(ihmsf[3], 3333, "jauD2tf", "3"); - } - @Test() - public t_dat() { + viv((s).charCodeAt(0), ('-').charCodeAt(0), "jauD2tf", "s"); + viv(ihmsf[0], 23, "jauD2tf", "0"); + viv(ihmsf[1], 42, "jauD2tf", "1"); + viv(ihmsf[2], 13, "jauD2tf", "2"); + viv(ihmsf[3], 3333, "jauD2tf", "3"); + }); +test("t_dat", () => { let deltat: number; const nls: number = TSOFA.leapSeconds_$LI$().length; - this.viv(nls, 42, "jauDat", "number of leap second entries"); - this.viv(TSOFA.leapSeconds_$LI$()[nls - 1].iyear, 2017, "jauDat", "year of last leap second"); - this.viv(TSOFA.leapSeconds_$LI$()[nls - 1].month, 1, "jauDat", "month of last leap second"); + viv(nls, 42, "jauDat", "number of leap second entries"); + viv(TSOFA.leapSeconds_$LI$()[nls - 1].iyear, 2017, "jauDat", "year of last leap second"); + viv(TSOFA.leapSeconds_$LI$()[nls - 1].month, 1, "jauDat", "month of last leap second"); try { deltat = TSOFA.jauDat(2003, 6, 1, 0.0); - this.vvd(deltat, 32.0, 0.0, "jauDat", "d1"); + vvd(deltat, 32.0, 0.0, "jauDat", "d1"); } catch(e) { } try { deltat = TSOFA.jauDat(2008, 1, 17, 0.0); - this.vvd(deltat, 33.0, 0.0, "jauDat", "d2"); + vvd(deltat, 33.0, 0.0, "jauDat", "d2"); } catch(e) { } try { deltat = TSOFA.jauDat(2017, 9, 1, 0.0); - this.vvd(deltat, 37.0, 0.0, "jauDat", "d3"); + vvd(deltat, 37.0, 0.0, "jauDat", "d3"); } catch(e) { } - } - @Test() - public t_dtdb() { + }); +test("t_dtdb", () => { let dtdb: number; dtdb = TSOFA.jauDtdb(2448939.5, 0.123, 0.76543, 5.0123, 5525.242, 3190.0); - this.vvd(dtdb, -0.001280368005936999, 1.0E-15, "jauDtdb", ""); - } - @Test() - public t_ee00() { + vvd(dtdb, -0.001280368005936999, 1.0E-15, "jauDtdb", ""); + }); +test("t_ee00", () => { let epsa: number; let dpsi: number; let ee: number; epsa = 0.409078976335651; dpsi = -9.630909107115582E-6; ee = TSOFA.jauEe00(2400000.5, 53736.0, epsa, dpsi); - this.vvd(ee, -8.834193235367966E-6, 1.0E-18, "jauEe00", ""); - } - @Test() - public t_ee00a() { + vvd(ee, -8.834193235367966E-6, 1.0E-18, "jauEe00", ""); + }); +test("t_ee00a", () => { let ee: number; ee = TSOFA.jauEe00a(2400000.5, 53736.0); - this.vvd(ee, -8.834192459222587E-6, 1.0E-18, "jauEe00a", ""); - } - @Test() - public t_ee00b() { + vvd(ee, -8.834192459222587E-6, 1.0E-18, "jauEe00a", ""); + }); +test("t_ee00b", () => { let ee: number; ee = TSOFA.jauEe00b(2400000.5, 53736.0); - this.vvd(ee, -8.835700060003032E-6, 1.0E-18, "jauEe00b", ""); - } - @Test() - public t_ee06a() { + vvd(ee, -8.835700060003032E-6, 1.0E-18, "jauEe00b", ""); + }); +test("t_ee06a", () => { let ee: number; ee = TSOFA.jauEe06a(2400000.5, 53736.0); - this.vvd(ee, -8.83419507204379E-6, 1.0E-15, "jauEe06a", ""); - } - @Test() - public t_eect00() { + vvd(ee, -8.83419507204379E-6, 1.0E-15, "jauEe06a", ""); + }); +test("t_eect00", () => { let eect: number; eect = TSOFA.jauEect00(2400000.5, 53736.0); - this.vvd(eect, 2.046085004885125E-9, 1.0E-20, "jauEect00", ""); - } - @Test() - public t_eform() { + vvd(eect, 2.046085004885125E-9, 1.0E-20, "jauEect00", ""); + }); +test("t_eform", () => { let ef: TSOFA.ReferenceEllipsoid; try { ef = TSOFA.jauEform(0); @@ -664,29 +625,27 @@ export class TSOFATest { } try { ef = TSOFA.jauEform(1); - this.vvd(ef.a, 6378137.0, 1.0E-10, "jauEform", "a"); - this.vvd(ef.f, 0.0033528106647474805, 1.0E-18, "jauEform", "f"); + vvd(ef.a, 6378137.0, 1.0E-10, "jauEform", "a"); + vvd(ef.f, 0.0033528106647474805, 1.0E-18, "jauEform", "f"); ef = TSOFA.jauEform(2); - this.vvd(ef.a, 6378137.0, 1.0E-10, "jauEform", "a"); - this.vvd(ef.f, 0.003352810681182319, 1.0E-18, "jauEform", "f"); + vvd(ef.a, 6378137.0, 1.0E-10, "jauEform", "a"); + vvd(ef.f, 0.003352810681182319, 1.0E-18, "jauEform", "f"); ef = TSOFA.jauEform(3); - this.vvd(ef.a, 6378135.0, 1.0E-10, "jauEform", "a"); - this.vvd(ef.f, 0.003352779454167505, 1.0E-18, "jauEform", "f"); + vvd(ef.a, 6378135.0, 1.0E-10, "jauEform", "a"); + vvd(ef.f, 0.003352779454167505, 1.0E-18, "jauEform", "f"); } catch(e) { } try { ef = TSOFA.jauEform(4); } catch(e) { } - } - @Test() - public t_eo06a() { + }); +test("t_eo06a", () => { let eo: number; eo = TSOFA.jauEo06a(2400000.5, 53736.0); - this.vvd(eo, -0.0013328823719418337, 1.0E-15, "jauEo06a", ""); - } - @Test() - public t_eors() { + vvd(eo, -0.0013328823719418337, 1.0E-15, "jauEo06a", ""); + }); +test("t_eors", () => { const rnpb: number[][] = TSOFA.CreateDimensionalArray([3, 3]); let s: number; let eo: number; @@ -701,125 +660,103 @@ export class TSOFATest { rnpb[2][2] = 0.9999998314954572; s = -1.220040848472272E-8; eo = TSOFA.jauEors(rnpb, s); - this.vvd(eo, -0.0013328827151307446, 1.0E-14, "jauEors", ""); - } - @Test() - public t_epb() { + vvd(eo, -0.0013328827151307446, 1.0E-14, "jauEors", ""); + }); +test("t_epb", () => { let epb: number; epb = TSOFA.jauEpb(2415019.8135, 30103.18648); - this.vvd(epb, 1982.4184241592786, 1.0E-12, "jauEpb", ""); - } - @Test() - public t_epb2jd() { + vvd(epb, 1982.4184241592786, 1.0E-12, "jauEpb", ""); + }); +test("t_epb2jd", () => { let epb: number; epb = 1957.3; const jd: TSOFA.JulianDate = TSOFA.jauEpb2jd(epb); - this.vvd(jd.djm0, 2400000.5, 1.0E-9, "jauEpb2jd", "djm0"); - this.vvd(jd.djm1, 35948.1915101513, 1.0E-9, "jauEpb2jd", "mjd"); - } - @Test() - public t_epj() { + vvd(jd.djm0, 2400000.5, 1.0E-9, "jauEpb2jd", "djm0"); + vvd(jd.djm1, 35948.1915101513, 1.0E-9, "jauEpb2jd", "mjd"); + }); +test("t_epj", () => { let epj: number; epj = TSOFA.jauEpj(2451545, -7392.5); - this.vvd(epj, 1979.7604380561258, 1.0E-12, "jauEpj", ""); - } - @Test() - public t_epj2jd() { + vvd(epj, 1979.7604380561258, 1.0E-12, "jauEpj", ""); + }); +test("t_epj2jd", () => { let epj: number; epj = 1996.8; const jd: TSOFA.JulianDate = TSOFA.jauEpj2jd(epj); - this.vvd(jd.djm0, 2400000.5, 1.0E-9, "jauEpj2jd", "djm0"); - this.vvd(jd.djm1, 50375.7, 1.0E-9, "jauEpj2jd", "mjd"); - } - @Test() - public t_epv00() { + vvd(jd.djm0, 2400000.5, 1.0E-9, "jauEpj2jd", "djm0"); + vvd(jd.djm1, 50375.7, 1.0E-9, "jauEpj2jd", "mjd"); + }); +test("t_epv00", () => { const pvh: number[][] = TSOFA.CreateDimensionalArray([2, 3]); const pvb: number[][] = TSOFA.CreateDimensionalArray([2, 3]); const j: number = TSOFA.jauEpv00(2400000.5, 53411.52501161, pvh, pvb); - this.vvd(pvh[0][0], -0.7757238809297706, 1.0E-14, "jauEpv00", "ph(x)"); - this.vvd(pvh[0][1], 0.559805224136334, 1.0E-14, "jauEpv00", "ph(y)"); - this.vvd(pvh[0][2], 0.2426998466481687, 1.0E-14, "jauEpv00", "ph(z)"); - this.vvd(pvh[1][0], -0.010918918241473138, 1.0E-15, "jauEpv00", "vh(x)"); - this.vvd(pvh[1][1], -0.01247187268440845, 1.0E-15, "jauEpv00", "vh(y)"); - this.vvd(pvh[1][2], -0.005407569418065039, 1.0E-15, "jauEpv00", "vh(z)"); - this.vvd(pvb[0][0], -0.7714104440491112, 1.0E-14, "jauEpv00", "pb(x)"); - this.vvd(pvb[0][1], 0.5598412061824172, 1.0E-14, "jauEpv00", "pb(y)"); - this.vvd(pvb[0][2], 0.24259962777224525, 1.0E-14, "jauEpv00", "pb(z)"); - this.vvd(pvb[1][0], -0.010918742681168233, 1.0E-15, "jauEpv00", "vb(x)"); - this.vvd(pvb[1][1], -0.012465254617328616, 1.0E-15, "jauEpv00", "vb(y)"); - this.vvd(pvb[1][2], -0.0054047731809662315, 1.0E-15, "jauEpv00", "vb(z)"); - this.viv(j, 0, "jauEpv00", "j"); - } - @Test() - public t_eqeq94() { + vvd(pvh[0][0], -0.7757238809297706, 1.0E-14, "jauEpv00", "ph(x)"); + vvd(pvh[0][1], 0.559805224136334, 1.0E-14, "jauEpv00", "ph(y)"); + vvd(pvh[0][2], 0.2426998466481687, 1.0E-14, "jauEpv00", "ph(z)"); + vvd(pvh[1][0], -0.010918918241473138, 1.0E-15, "jauEpv00", "vh(x)"); + vvd(pvh[1][1], -0.01247187268440845, 1.0E-15, "jauEpv00", "vh(y)"); + vvd(pvh[1][2], -0.005407569418065039, 1.0E-15, "jauEpv00", "vh(z)"); + vvd(pvb[0][0], -0.7714104440491112, 1.0E-14, "jauEpv00", "pb(x)"); + vvd(pvb[0][1], 0.5598412061824172, 1.0E-14, "jauEpv00", "pb(y)"); + vvd(pvb[0][2], 0.24259962777224525, 1.0E-14, "jauEpv00", "pb(z)"); + vvd(pvb[1][0], -0.010918742681168233, 1.0E-15, "jauEpv00", "vb(x)"); + vvd(pvb[1][1], -0.012465254617328616, 1.0E-15, "jauEpv00", "vb(y)"); + vvd(pvb[1][2], -0.0054047731809662315, 1.0E-15, "jauEpv00", "vb(z)"); + viv(j, 0, "jauEpv00", "j"); + }); +test("t_eqeq94", () => { let eqeq: number; eqeq = TSOFA.jauEqeq94(2400000.5, 41234.0); - this.vvd(eqeq, 5.357758254609257E-5, 1.0E-17, "jauEqeq94", ""); - } - @Test() - public t_era00() { + vvd(eqeq, 5.357758254609257E-5, 1.0E-17, "jauEqeq94", ""); + }); +test("t_era00", () => { let era00: number; era00 = TSOFA.jauEra00(2400000.5, 54388.0); - this.vvd(era00, 0.4022837240028158, 1.0E-12, "jauEra00", ""); - } - @Test() - public t_fad03() { - this.vvd(TSOFA.jauFad03(0.8), 1.9467092053969257, 1.0E-12, "jauFad03", ""); - } - @Test() - public t_fae03() { - this.vvd(TSOFA.jauFae03(0.8), 1.7447137389130818, 1.0E-12, "jauFae03", ""); - } - @Test() - public t_faf03() { - this.vvd(TSOFA.jauFaf03(0.8), 0.25977113667454993, 1.0E-12, "jauFaf03", ""); - } - @Test() - public t_faju03() { - this.vvd(TSOFA.jauFaju03(0.8), 5.275711665202481, 1.0E-12, "jauFaju03", ""); - } - @Test() - public t_fal03() { - this.vvd(TSOFA.jauFal03(0.8), 5.132369751108684, 1.0E-12, "jauFal03", ""); - } - @Test() - public t_falp03() { - this.vvd(TSOFA.jauFalp03(0.8), 6.226797973505508, 1.0E-12, "jauFalp03", ""); - } - @Test() - public t_fama03() { - this.vvd(TSOFA.jauFama03(0.8), 3.2755068402777816, 1.0E-12, "jauFama03", ""); - } - @Test() - public t_fame03() { - this.vvd(TSOFA.jauFame03(0.8), 5.417338184297289, 1.0E-12, "jauFame03", ""); - } - @Test() - public t_fane03() { - this.vvd(TSOFA.jauFane03(0.8), 2.0793438308604135, 1.0E-12, "jauFane03", ""); - } - @Test() - public t_faom03() { - this.vvd(TSOFA.jauFaom03(0.8), -5.973618440951302, 1.0E-12, "jauFaom03", ""); - } - @Test() - public t_fapa03() { - this.vvd(TSOFA.jauFapa03(0.8), 0.0195088476224, 1.0E-12, "jauFapa03", ""); - } - @Test() - public t_fasa03() { - this.vvd(TSOFA.jauFasa03(0.8), 5.371574539440827, 1.0E-12, "jauFasa03", ""); - } - @Test() - public t_faur03() { - this.vvd(TSOFA.jauFaur03(0.8), 5.180636450180414, 1.0E-12, "jauFaur03", ""); - } - @Test() - public t_fave03() { - this.vvd(TSOFA.jauFave03(0.8), 3.424900460533758, 1.0E-12, "jauFave03", ""); - } - @Test() - public t_fk52h() { + vvd(era00, 0.4022837240028158, 1.0E-12, "jauEra00", ""); + }); +test("t_fad03", () => { + vvd(TSOFA.jauFad03(0.8), 1.9467092053969257, 1.0E-12, "jauFad03", ""); + }); +test("t_fae03", () => { + vvd(TSOFA.jauFae03(0.8), 1.7447137389130818, 1.0E-12, "jauFae03", ""); + }); +test("t_faf03", () => { + vvd(TSOFA.jauFaf03(0.8), 0.25977113667454993, 1.0E-12, "jauFaf03", ""); + }); +test("t_faju03", () => { + vvd(TSOFA.jauFaju03(0.8), 5.275711665202481, 1.0E-12, "jauFaju03", ""); + }); +test("t_fal03", () => { + vvd(TSOFA.jauFal03(0.8), 5.132369751108684, 1.0E-12, "jauFal03", ""); + }); +test("t_falp03", () => { + vvd(TSOFA.jauFalp03(0.8), 6.226797973505508, 1.0E-12, "jauFalp03", ""); + }); +test("t_fama03", () => { + vvd(TSOFA.jauFama03(0.8), 3.2755068402777816, 1.0E-12, "jauFama03", ""); + }); +test("t_fame03", () => { + vvd(TSOFA.jauFame03(0.8), 5.417338184297289, 1.0E-12, "jauFame03", ""); + }); +test("t_fane03", () => { + vvd(TSOFA.jauFane03(0.8), 2.0793438308604135, 1.0E-12, "jauFane03", ""); + }); +test("t_faom03", () => { + vvd(TSOFA.jauFaom03(0.8), -5.973618440951302, 1.0E-12, "jauFaom03", ""); + }); +test("t_fapa03", () => { + vvd(TSOFA.jauFapa03(0.8), 0.0195088476224, 1.0E-12, "jauFapa03", ""); + }); +test("t_fasa03", () => { + vvd(TSOFA.jauFasa03(0.8), 5.371574539440827, 1.0E-12, "jauFasa03", ""); + }); +test("t_faur03", () => { + vvd(TSOFA.jauFaur03(0.8), 5.180636450180414, 1.0E-12, "jauFaur03", ""); + }); +test("t_fave03", () => { + vvd(TSOFA.jauFave03(0.8), 3.424900460533758, 1.0E-12, "jauFave03", ""); + }); +test("t_fk52h", () => { let r5: number; let d5: number; let dr5: number; @@ -833,43 +770,40 @@ export class TSOFATest { px5 = 0.37921; rv5 = -7.6; const cat: TSOFA.CatalogCoords | any = TSOFA.jauFk52h(r5, d5, dr5, dd5, px5, rv5); - this.vvd(cat.pos.alpha, 1.7677942262999475, 1.0E-14, "jauFk52h", "ra"); - this.vvd(cat.pos.delta, -0.29175160705303915, 1.0E-14, "jauFk52h", "dec"); - this.vvd(cat.pm.alpha, -1.9618741256057212E-7, 1.0E-19, "jauFk52h", "dr5"); - this.vvd(cat.pm.delta, -5.845990517669391E-6, 1.0E-19, "jauFk52h", "dd5"); - this.vvd(cat.px, 0.37921, 1.0E-14, "jauFk52h", "px"); - this.vvd(cat.rv, -7.600000094000025, 1.0E-11, "jauFk52h", "rv"); - } - @Test() - public t_fk5hip() { + vvd(cat.pos.alpha, 1.7677942262999475, 1.0E-14, "jauFk52h", "ra"); + vvd(cat.pos.delta, -0.29175160705303915, 1.0E-14, "jauFk52h", "dec"); + vvd(cat.pm.alpha, -1.9618741256057212E-7, 1.0E-19, "jauFk52h", "dr5"); + vvd(cat.pm.delta, -5.845990517669391E-6, 1.0E-19, "jauFk52h", "dd5"); + vvd(cat.px, 0.37921, 1.0E-14, "jauFk52h", "px"); + vvd(cat.rv, -7.600000094000025, 1.0E-11, "jauFk52h", "rv"); + }); +test("t_fk5hip", () => { const r5h: number[][] = TSOFA.CreateDimensionalArray([3, 3]); const s5h: number[] = [0, 0, 0]; TSOFA.jauFk5hip(r5h, s5h); - this.vvd(r5h[0][0], 0.9999999999999929, 1.0E-14, "jauFk5hip", "11"); - this.vvd(r5h[0][1], 1.1102233510229197E-7, 1.0E-17, "jauFk5hip", "12"); - this.vvd(r5h[0][2], 4.4118039625365584E-8, 1.0E-17, "jauFk5hip", "13"); - this.vvd(r5h[1][0], -1.1102233084587465E-7, 1.0E-17, "jauFk5hip", "21"); - this.vvd(r5h[1][1], 0.9999999999999892, 1.0E-14, "jauFk5hip", "22"); - this.vvd(r5h[1][2], -9.647792498984142E-8, 1.0E-17, "jauFk5hip", "23"); - this.vvd(r5h[2][0], -4.411805033656962E-8, 1.0E-17, "jauFk5hip", "31"); - this.vvd(r5h[2][1], 9.647792009175315E-8, 1.0E-17, "jauFk5hip", "32"); - this.vvd(r5h[2][2], 0.9999999999999943, 1.0E-14, "jauFk5hip", "33"); - this.vvd(s5h[0], -1.454441043328608E-9, 1.0E-17, "jauFk5hip", "s1"); - this.vvd(s5h[1], 2.908882086657216E-9, 1.0E-17, "jauFk5hip", "s2"); - this.vvd(s5h[2], 3.393695767766752E-9, 1.0E-17, "jauFk5hip", "s3"); - } - @Test() - public t_fk5hz() { + vvd(r5h[0][0], 0.9999999999999929, 1.0E-14, "jauFk5hip", "11"); + vvd(r5h[0][1], 1.1102233510229197E-7, 1.0E-17, "jauFk5hip", "12"); + vvd(r5h[0][2], 4.4118039625365584E-8, 1.0E-17, "jauFk5hip", "13"); + vvd(r5h[1][0], -1.1102233084587465E-7, 1.0E-17, "jauFk5hip", "21"); + vvd(r5h[1][1], 0.9999999999999892, 1.0E-14, "jauFk5hip", "22"); + vvd(r5h[1][2], -9.647792498984142E-8, 1.0E-17, "jauFk5hip", "23"); + vvd(r5h[2][0], -4.411805033656962E-8, 1.0E-17, "jauFk5hip", "31"); + vvd(r5h[2][1], 9.647792009175315E-8, 1.0E-17, "jauFk5hip", "32"); + vvd(r5h[2][2], 0.9999999999999943, 1.0E-14, "jauFk5hip", "33"); + vvd(s5h[0], -1.454441043328608E-9, 1.0E-17, "jauFk5hip", "s1"); + vvd(s5h[1], 2.908882086657216E-9, 1.0E-17, "jauFk5hip", "s2"); + vvd(s5h[2], 3.393695767766752E-9, 1.0E-17, "jauFk5hip", "s3"); + }); +test("t_fk5hz", () => { let r5: number; let d5: number; r5 = 1.76779433; d5 = -0.2917517103; const pos: TSOFA.SphericalCoordinate = TSOFA.jauFk5hz(r5, d5, 2400000.5, 54479.0); - this.vvd(pos.alpha, 1.767794191464424, 1.0E-12, "jauFk5hz", "ra"); - this.vvd(pos.delta, -0.29175160016798846, 1.0E-12, "jauFk5hz", "dec"); - } - @Test() - public t_fw2m() { + vvd(pos.alpha, 1.767794191464424, 1.0E-12, "jauFk5hz", "ra"); + vvd(pos.delta, -0.29175160016798846, 1.0E-12, "jauFk5hz", "dec"); + }); +test("t_fw2m", () => { let gamb: number; let phib: number; let psi: number; @@ -880,18 +814,17 @@ export class TSOFATest { psi = -9.501954178013015E-4; eps = 0.40910143165873675; r = TSOFA.jauFw2m(gamb, phib, psi, eps); - this.vvd(r[0][0], 0.9999995505176007, 1.0E-12, "jauFw2m", "11"); - this.vvd(r[0][1], 8.695404617348192E-4, 1.0E-12, "jauFw2m", "12"); - this.vvd(r[0][2], 3.7797352018655825E-4, 1.0E-12, "jauFw2m", "13"); - this.vvd(r[1][0], -8.695404723772016E-4, 1.0E-12, "jauFw2m", "21"); - this.vvd(r[1][1], 0.9999996219496027, 1.0E-12, "jauFw2m", "22"); - this.vvd(r[1][2], -1.3617524968871E-7, 1.0E-12, "jauFw2m", "23"); - this.vvd(r[2][0], -3.7797349570340826E-4, 1.0E-12, "jauFw2m", "31"); - this.vvd(r[2][1], -1.9248808480876157E-7, 1.0E-12, "jauFw2m", "32"); - this.vvd(r[2][2], 0.9999999285679972, 1.0E-12, "jauFw2m", "33"); - } - @Test() - public t_fw2xy() { + vvd(r[0][0], 0.9999995505176007, 1.0E-12, "jauFw2m", "11"); + vvd(r[0][1], 8.695404617348192E-4, 1.0E-12, "jauFw2m", "12"); + vvd(r[0][2], 3.7797352018655825E-4, 1.0E-12, "jauFw2m", "13"); + vvd(r[1][0], -8.695404723772016E-4, 1.0E-12, "jauFw2m", "21"); + vvd(r[1][1], 0.9999996219496027, 1.0E-12, "jauFw2m", "22"); + vvd(r[1][2], -1.3617524968871E-7, 1.0E-12, "jauFw2m", "23"); + vvd(r[2][0], -3.7797349570340826E-4, 1.0E-12, "jauFw2m", "31"); + vvd(r[2][1], -1.9248808480876157E-7, 1.0E-12, "jauFw2m", "32"); + vvd(r[2][2], 0.9999999285679972, 1.0E-12, "jauFw2m", "33"); + }); +test("t_fw2xy", () => { let gamb: number; let phib: number; let psi: number; @@ -901,11 +834,10 @@ export class TSOFATest { psi = -9.501954178013015E-4; eps = 0.40910143165873675; const cip: TSOFA.CelestialIntermediatePole = TSOFA.jauFw2xy(gamb, phib, psi, eps); - this.vvd(cip.x, -3.7797349570340826E-4, 1.0E-14, "jauFw2xy", "x"); - this.vvd(cip.y, -1.9248808480876157E-7, 1.0E-14, "jauFw2xy", "y"); - } - @Test() - public t_gc2gd() { + vvd(cip.x, -3.7797349570340826E-4, 1.0E-14, "jauFw2xy", "x"); + vvd(cip.y, -1.9248808480876157E-7, 1.0E-14, "jauFw2xy", "y"); + }); +test("t_gc2gd", () => { const xyz: number[] = [2000000.0, 3000000.0, 5244000.0]; let geo: TSOFA.GeodeticCoord; try { @@ -914,39 +846,37 @@ export class TSOFATest { } try { geo = TSOFA.jauGc2gd(1, xyz); - this.vvd(geo.elong, 0.982793723247329, 1.0E-14, "jauGc2gd", "e1"); - this.vvd(geo.phi, 0.9716018481907546, 1.0E-14, "jauGc2gd", "p1"); - this.vvd(geo.height, 331.417246142606, 1.0E-8, "jauGc2gd", "h1"); + vvd(geo.elong, 0.982793723247329, 1.0E-14, "jauGc2gd", "e1"); + vvd(geo.phi, 0.9716018481907546, 1.0E-14, "jauGc2gd", "p1"); + vvd(geo.height, 331.417246142606, 1.0E-8, "jauGc2gd", "h1"); geo = TSOFA.jauGc2gd(2, xyz); - this.vvd(geo.elong, 0.982793723247329, 1.0E-14, "jauGc2gd", "e2"); - this.vvd(geo.phi, 0.9716018482060785, 1.0E-14, "jauGc2gd", "p2"); - this.vvd(geo.height, 331.41731754844346, 1.0E-8, "jauGc2gd", "h2"); + vvd(geo.elong, 0.982793723247329, 1.0E-14, "jauGc2gd", "e2"); + vvd(geo.phi, 0.9716018482060785, 1.0E-14, "jauGc2gd", "p2"); + vvd(geo.height, 331.41731754844346, 1.0E-8, "jauGc2gd", "h2"); geo = TSOFA.jauGc2gd(3, xyz); - this.vvd(geo.elong, 0.982793723247329, 1.0E-14, "jauGc2gd", "e3"); - this.vvd(geo.phi, 0.9716018181101512, 1.0E-14, "jauGc2gd", "p3"); - this.vvd(geo.height, 333.2770726130318, 1.0E-8, "jauGc2gd", "h3"); + vvd(geo.elong, 0.982793723247329, 1.0E-14, "jauGc2gd", "e3"); + vvd(geo.phi, 0.9716018181101512, 1.0E-14, "jauGc2gd", "p3"); + vvd(geo.height, 333.2770726130318, 1.0E-8, "jauGc2gd", "h3"); } catch(e1) { } try { geo = TSOFA.jauGc2gd(4, xyz); } catch(e1) { } - } - @Test() - public t_gc2gde() { + }); +test("t_gc2gde", () => { const a: number = 6378136.0; const f: number = 0.0033528; const xyz: number[] = [2000000.0, 3000000.0, 5244000.0]; try { const geo: TSOFA.GeodeticCoord = TSOFA.jauGc2gde(a, f, xyz); - this.vvd(geo.elong, 0.982793723247329, 1.0E-14, "jauGc2gde", "e"); - this.vvd(geo.phi, 0.9716018377570411, 1.0E-14, "jauGc2gde", "p"); - this.vvd(geo.height, 332.368624957644, 1.0E-8, "jauGc2gde", "h"); + vvd(geo.elong, 0.982793723247329, 1.0E-14, "jauGc2gde", "e"); + vvd(geo.phi, 0.9716018377570411, 1.0E-14, "jauGc2gde", "p"); + vvd(geo.height, 332.368624957644, 1.0E-8, "jauGc2gde", "h"); } catch(e1) { } - } - @Test() - public t_gd2gc() { + }); +test("t_gd2gc", () => { const e: number = 3.1; const p: number = -0.5; const h: number = 2500.0; @@ -965,17 +895,17 @@ export class TSOFATest { } try { xyz = TSOFA.jauGd2gc(1, e, p, h); - this.vvd(xyz[0], -5599000.557704994, 1.0E-7, "jauGd2gc", "0/1"); - this.vvd(xyz[1], 233011.67223479203, 1.0E-7, "jauGd2gc", "1/1"); - this.vvd(xyz[2], -3040909.470698336, 1.0E-7, "jauGd2gc", "2/1"); + vvd(xyz[0], -5599000.557704994, 1.0E-7, "jauGd2gc", "0/1"); + vvd(xyz[1], 233011.67223479203, 1.0E-7, "jauGd2gc", "1/1"); + vvd(xyz[2], -3040909.470698336, 1.0E-7, "jauGd2gc", "2/1"); xyz = TSOFA.jauGd2gc(2, e, p, h); - this.vvd(xyz[0], -5599000.557726098, 1.0E-7, "jauGd2gc", "0/2"); - this.vvd(xyz[1], 233011.6722356703, 1.0E-7, "jauGd2gc", "1/2"); - this.vvd(xyz[2], -3040909.4706095476, 1.0E-7, "jauGd2gc", "2/2"); + vvd(xyz[0], -5599000.557726098, 1.0E-7, "jauGd2gc", "0/2"); + vvd(xyz[1], 233011.6722356703, 1.0E-7, "jauGd2gc", "1/2"); + vvd(xyz[2], -3040909.4706095476, 1.0E-7, "jauGd2gc", "2/2"); xyz = TSOFA.jauGd2gc(3, e, p, h); - this.vvd(xyz[0], -5598998.762630149, 1.0E-7, "jauGd2gc", "0/3"); - this.vvd(xyz[1], 233011.5975297822, 1.0E-7, "jauGd2gc", "1/3"); - this.vvd(xyz[2], -3040908.686146711, 1.0E-7, "jauGd2gc", "2/3"); + vvd(xyz[0], -5598998.762630149, 1.0E-7, "jauGd2gc", "0/3"); + vvd(xyz[1], 233011.5975297822, 1.0E-7, "jauGd2gc", "1/3"); + vvd(xyz[2], -3040908.686146711, 1.0E-7, "jauGd2gc", "2/3"); } catch(e1) { } try { @@ -990,9 +920,8 @@ export class TSOFATest { } } - } - @Test() - public t_gd2gce() { + }); +test("t_gd2gce", () => { const a: number = 6378136.0; const f: number = 0.0033528; const e: number = 3.1; @@ -1000,42 +929,36 @@ export class TSOFATest { const h: number = 2500.0; let xyz: number[] = [0, 0, 0]; xyz = TSOFA.jauGd2gce(a, f, e, p, h); - this.vvd(xyz[0], -5598999.6665116325, 1.0E-7, "jauGd2gce", "0"); - this.vvd(xyz[1], 233011.63514630572, 1.0E-7, "jauGd2gce", "1"); - this.vvd(xyz[2], -3040909.051731413, 1.0E-7, "jauGd2gce", "2"); - } - @Test() - public t_gmst00() { + vvd(xyz[0], -5598999.6665116325, 1.0E-7, "jauGd2gce", "0"); + vvd(xyz[1], 233011.63514630572, 1.0E-7, "jauGd2gce", "1"); + vvd(xyz[2], -3040909.051731413, 1.0E-7, "jauGd2gce", "2"); + }); +test("t_gmst00", () => { let theta: number; theta = TSOFA.jauGmst00(2400000.5, 53736.0, 2400000.5, 53736.0); - this.vvd(theta, 1.7541749722107407, 1.0E-12, "jauGmst00", ""); - } - @Test() - public t_gmst06() { + vvd(theta, 1.7541749722107407, 1.0E-12, "jauGmst00", ""); + }); +test("t_gmst06", () => { let theta: number; theta = TSOFA.jauGmst06(2400000.5, 53736.0, 2400000.5, 53736.0); - this.vvd(theta, 1.7541749718700912, 1.0E-12, "jauGmst06", ""); - } - @Test() - public t_gmst82() { + vvd(theta, 1.7541749718700912, 1.0E-12, "jauGmst06", ""); + }); +test("t_gmst82", () => { let theta: number; theta = TSOFA.jauGmst82(2400000.5, 53736.0); - this.vvd(theta, 1.754174981860675, 1.0E-12, "jauGmst82", ""); - } - @Test() - public t_gst00a() { + vvd(theta, 1.754174981860675, 1.0E-12, "jauGmst82", ""); + }); +test("t_gst00a", () => { let theta: number; theta = TSOFA.jauGst00a(2400000.5, 53736.0, 2400000.5, 53736.0); - this.vvd(theta, 1.7541661380182814, 1.0E-12, "jauGst00a", ""); - } - @Test() - public t_gst00b() { + vvd(theta, 1.7541661380182814, 1.0E-12, "jauGst00a", ""); + }); +test("t_gst00b", () => { let theta: number; theta = TSOFA.jauGst00b(2400000.5, 53736.0); - this.vvd(theta, 1.7541661365106807, 1.0E-12, "jauGst00b", ""); - } - @Test() - public t_gst06() { + vvd(theta, 1.7541661365106807, 1.0E-12, "jauGst00b", ""); + }); +test("t_gst06", () => { const rnpb: number[][] = TSOFA.CreateDimensionalArray([3, 3]); let theta: number; rnpb[0][0] = 0.9999989440476104; @@ -1048,22 +971,19 @@ export class TSOFATest { rnpb[2][1] = 4.0205956615939944E-5; rnpb[2][2] = 0.9999998314954572; theta = TSOFA.jauGst06(2400000.5, 53736.0, 2400000.5, 53736.0, rnpb); - this.vvd(theta, 1.7541661380181677, 1.0E-12, "jauGst06", ""); - } - @Test() - public t_gst06a() { + vvd(theta, 1.7541661380181677, 1.0E-12, "jauGst06", ""); + }); +test("t_gst06a", () => { let theta: number; theta = TSOFA.jauGst06a(2400000.5, 53736.0, 2400000.5, 53736.0); - this.vvd(theta, 1.754166137675019, 1.0E-12, "jauGst06a", ""); - } - @Test() - public t_gst94() { + vvd(theta, 1.754166137675019, 1.0E-12, "jauGst06a", ""); + }); +test("t_gst94", () => { let theta: number; theta = TSOFA.jauGst94(2400000.5, 53736.0); - this.vvd(theta, 1.7541661360206453, 1.0E-12, "jauGst94", ""); - } - @Test() - public t_h2fk5() { + vvd(theta, 1.7541661360206453, 1.0E-12, "jauGst94", ""); + }); +test("t_h2fk5", () => { let rh: number; let dh: number; let drh: number; @@ -1077,27 +997,25 @@ export class TSOFATest { pxh = 0.37921; rvh = -7.6; const cat: TSOFA.CatalogCoords | any = TSOFA.jauH2fk5(rh, dh, drh, ddh, pxh, rvh); - this.vvd(cat.pos.alpha, 1.7677944557000655, 1.0E-13, "jauH2fk5", "ra"); - this.vvd(cat.pos.delta, -0.2917513626469639, 1.0E-13, "jauH2fk5", "dec"); - this.vvd(cat.pm.alpha, -2.7597945024511204E-6, 1.0E-18, "jauH2fk5", "dr5"); - this.vvd(cat.pm.delta, -5.930801409326283E-6, 1.0E-18, "jauH2fk5", "dd5"); - this.vvd(cat.px, 0.37921, 1.0E-13, "jauH2fk5", "px"); - this.vvd(cat.rv, -7.600000130907112, 2.0E-11, "jauH2fk5", "rv"); - } - @Test() - public t_hfk5z() { + vvd(cat.pos.alpha, 1.7677944557000655, 1.0E-13, "jauH2fk5", "ra"); + vvd(cat.pos.delta, -0.2917513626469639, 1.0E-13, "jauH2fk5", "dec"); + vvd(cat.pm.alpha, -2.7597945024511204E-6, 1.0E-18, "jauH2fk5", "dr5"); + vvd(cat.pm.delta, -5.930801409326283E-6, 1.0E-18, "jauH2fk5", "dd5"); + vvd(cat.px, 0.37921, 1.0E-13, "jauH2fk5", "px"); + vvd(cat.rv, -7.600000130907112, 2.0E-11, "jauH2fk5", "rv"); + }); +test("t_hfk5z", () => { let rh: number; let dh: number; rh = 1.767794352; dh = -0.2917512594; const cat: TSOFA.CatalogCoords = TSOFA.jauHfk5z(rh, dh, 2400000.5, 54479.0); - this.vvd(cat.pos.alpha, 1.7677944905355811, 1.0E-13, "jauHfk5z", "ra"); - this.vvd(cat.pos.delta, -0.2917513695320114, 1.0E-14, "jauHfk5z", "dec"); - this.vvd(cat.pm.alpha, 4.335890983539243E-9, 1.0E-22, "jauHfk5z", "dr5"); - this.vvd(cat.pm.delta, -8.569648841237746E-10, 1.0E-23, "jauHfk5z", "dd5"); - } - @Test() - public t_ir() { + vvd(cat.pos.alpha, 1.7677944905355811, 1.0E-13, "jauHfk5z", "ra"); + vvd(cat.pos.delta, -0.2917513695320114, 1.0E-14, "jauHfk5z", "dec"); + vvd(cat.pm.alpha, 4.335890983539243E-9, 1.0E-22, "jauHfk5z", "dr5"); + vvd(cat.pm.delta, -8.569648841237746E-10, 1.0E-23, "jauHfk5z", "dd5"); + }); +test("t_ir", () => { const r: number[][] = TSOFA.CreateDimensionalArray([3, 3]); r[0][0] = 2.0; r[0][1] = 3.0; @@ -1109,30 +1027,28 @@ export class TSOFATest { r[2][1] = 4.0; r[2][2] = 5.0; TSOFA.jauIr(r); - this.vvd(r[0][0], 1.0, 0.0, "jauIr", "11"); - this.vvd(r[0][1], 0.0, 0.0, "jauIr", "12"); - this.vvd(r[0][2], 0.0, 0.0, "jauIr", "13"); - this.vvd(r[1][0], 0.0, 0.0, "jauIr", "21"); - this.vvd(r[1][1], 1.0, 0.0, "jauIr", "22"); - this.vvd(r[1][2], 0.0, 0.0, "jauIr", "23"); - this.vvd(r[2][0], 0.0, 0.0, "jauIr", "31"); - this.vvd(r[2][1], 0.0, 0.0, "jauIr", "32"); - this.vvd(r[2][2], 1.0, 0.0, "jauIr", "33"); - } - @Test() - public t_jd2cal() { + vvd(r[0][0], 1.0, 0.0, "jauIr", "11"); + vvd(r[0][1], 0.0, 0.0, "jauIr", "12"); + vvd(r[0][2], 0.0, 0.0, "jauIr", "13"); + vvd(r[1][0], 0.0, 0.0, "jauIr", "21"); + vvd(r[1][1], 1.0, 0.0, "jauIr", "22"); + vvd(r[1][2], 0.0, 0.0, "jauIr", "23"); + vvd(r[2][0], 0.0, 0.0, "jauIr", "31"); + vvd(r[2][1], 0.0, 0.0, "jauIr", "32"); + vvd(r[2][2], 1.0, 0.0, "jauIr", "33"); + }); +test("t_jd2cal", () => { let dj1: number; let dj2: number; dj1 = 2400000.5; dj2 = 50123.9999; const cal: TSOFA.Calendar = TSOFA.jauJd2cal(dj1, dj2); - this.viv(cal.iy, 1996, "jauJd2cal", "y"); - this.viv(cal.im, 2, "jauJd2cal", "m"); - this.viv(cal.id, 10, "jauJd2cal", "d"); - this.vvd(cal.fd, 0.9999, 1.0E-7, "jauJd2cal", "fd"); - } - @Test() - public t_jdcalf() { + viv(cal.iy, 1996, "jauJd2cal", "y"); + viv(cal.im, 2, "jauJd2cal", "m"); + viv(cal.id, 10, "jauJd2cal", "d"); + vvd(cal.fd, 0.9999, 1.0E-7, "jauJd2cal", "fd"); + }); +test("t_jdcalf", () => { let dj1: number; let dj2: number; const iydmf: number[] = [0, 0, 0, 0]; @@ -1140,53 +1056,49 @@ export class TSOFATest { dj1 = 2400000.5; dj2 = 50123.9999; j = TSOFA.jauJdcalf(4, dj1, dj2, iydmf); - this.viv(iydmf[0], 1996, "jauJdcalf", "y"); - this.viv(iydmf[1], 2, "jauJdcalf", "m"); - this.viv(iydmf[2], 10, "jauJdcalf", "d"); - this.viv(iydmf[3], 9999, "jauJdcalf", "f"); - this.viv(j, 0, "jauJdcalf", "j"); - } - @Test() - public t_num00a() { + viv(iydmf[0], 1996, "jauJdcalf", "y"); + viv(iydmf[1], 2, "jauJdcalf", "m"); + viv(iydmf[2], 10, "jauJdcalf", "d"); + viv(iydmf[3], 9999, "jauJdcalf", "f"); + viv(j, 0, "jauJdcalf", "j"); + }); +test("t_num00a", () => { const rmatn = TSOFA.jauNum00a(2400000.5, 53736.0); - this.vvd(rmatn[0][0], 0.9999999999536228, 1.0E-12, "jauNum00a", "11"); - this.vvd(rmatn[0][1], 8.836238544090872E-6, 1.0E-12, "jauNum00a", "12"); - this.vvd(rmatn[0][2], 3.830835237722401E-6, 1.0E-12, "jauNum00a", "13"); - this.vvd(rmatn[1][0], -8.83608288079857E-6, 1.0E-12, "jauNum00a", "21"); - this.vvd(rmatn[1][1], 0.9999999991354656, 1.0E-12, "jauNum00a", "22"); - this.vvd(rmatn[1][2], -4.0632408653625E-5, 1.0E-12, "jauNum00a", "23"); - this.vvd(rmatn[2][0], -3.831194272065996E-6, 1.0E-12, "jauNum00a", "31"); - this.vvd(rmatn[2][1], 4.063237480216292E-5, 1.0E-12, "jauNum00a", "32"); - this.vvd(rmatn[2][2], 0.9999999991671661, 1.0E-12, "jauNum00a", "33"); - } - @Test() - public t_num00b() { + vvd(rmatn[0][0], 0.9999999999536228, 1.0E-12, "jauNum00a", "11"); + vvd(rmatn[0][1], 8.836238544090872E-6, 1.0E-12, "jauNum00a", "12"); + vvd(rmatn[0][2], 3.830835237722401E-6, 1.0E-12, "jauNum00a", "13"); + vvd(rmatn[1][0], -8.83608288079857E-6, 1.0E-12, "jauNum00a", "21"); + vvd(rmatn[1][1], 0.9999999991354656, 1.0E-12, "jauNum00a", "22"); + vvd(rmatn[1][2], -4.0632408653625E-5, 1.0E-12, "jauNum00a", "23"); + vvd(rmatn[2][0], -3.831194272065996E-6, 1.0E-12, "jauNum00a", "31"); + vvd(rmatn[2][1], 4.063237480216292E-5, 1.0E-12, "jauNum00a", "32"); + vvd(rmatn[2][2], 0.9999999991671661, 1.0E-12, "jauNum00a", "33"); + }); +test("t_num00b", () => { const rmatn = TSOFA.jauNum00b(2400000.5, 53736); - this.vvd(rmatn[0][0], 0.999999999953607, 1.0E-12, "jauNum00b", "11"); - this.vvd(rmatn[0][1], 8.837746144871248E-6, 1.0E-12, "jauNum00b", "12"); - this.vvd(rmatn[0][2], 3.831488838252203E-6, 1.0E-12, "jauNum00b", "13"); - this.vvd(rmatn[1][0], -8.837590456632305E-6, 1.0E-12, "jauNum00b", "21"); - this.vvd(rmatn[1][1], 0.9999999991354692, 1.0E-12, "jauNum00b", "22"); - this.vvd(rmatn[1][2], -4.0631987985595914E-5, 1.0E-12, "jauNum00b", "23"); - this.vvd(rmatn[2][0], -3.831847930134941E-6, 1.0E-12, "jauNum00b", "31"); - this.vvd(rmatn[2][1], 4.063195412258168E-5, 1.0E-12, "jauNum00b", "32"); - this.vvd(rmatn[2][2], 0.9999999991671806, 1.0E-12, "jauNum00b", "33"); - } - @Test() - public t_num06a() { + vvd(rmatn[0][0], 0.999999999953607, 1.0E-12, "jauNum00b", "11"); + vvd(rmatn[0][1], 8.837746144871248E-6, 1.0E-12, "jauNum00b", "12"); + vvd(rmatn[0][2], 3.831488838252203E-6, 1.0E-12, "jauNum00b", "13"); + vvd(rmatn[1][0], -8.837590456632305E-6, 1.0E-12, "jauNum00b", "21"); + vvd(rmatn[1][1], 0.9999999991354692, 1.0E-12, "jauNum00b", "22"); + vvd(rmatn[1][2], -4.0631987985595914E-5, 1.0E-12, "jauNum00b", "23"); + vvd(rmatn[2][0], -3.831847930134941E-6, 1.0E-12, "jauNum00b", "31"); + vvd(rmatn[2][1], 4.063195412258168E-5, 1.0E-12, "jauNum00b", "32"); + vvd(rmatn[2][2], 0.9999999991671806, 1.0E-12, "jauNum00b", "33"); + }); +test("t_num06a", () => { const rmatn = TSOFA.jauNum06a(2400000.5, 53736); - this.vvd(rmatn[0][0], 0.9999999999536228, 1.0E-12, "jauNum06a", "11"); - this.vvd(rmatn[0][1], 8.836241998111535E-6, 1.0E-12, "jauNum06a", "12"); - this.vvd(rmatn[0][2], 3.8308346084152875E-6, 1.0E-12, "jauNum06a", "13"); - this.vvd(rmatn[1][0], -8.83608633487074E-6, 1.0E-12, "jauNum06a", "21"); - this.vvd(rmatn[1][1], 0.9999999991354658, 1.0E-12, "jauNum06a", "22"); - this.vvd(rmatn[1][2], -4.063240188248455E-5, 1.0E-12, "jauNum06a", "23"); - this.vvd(rmatn[2][0], -3.831193642839398E-6, 1.0E-12, "jauNum06a", "31"); - this.vvd(rmatn[2][1], 4.0632368031014796E-5, 1.0E-12, "jauNum06a", "32"); - this.vvd(rmatn[2][2], 0.9999999991671663, 1.0E-12, "jauNum06a", "33"); - } - @Test() - public t_numat() { + vvd(rmatn[0][0], 0.9999999999536228, 1.0E-12, "jauNum06a", "11"); + vvd(rmatn[0][1], 8.836241998111535E-6, 1.0E-12, "jauNum06a", "12"); + vvd(rmatn[0][2], 3.8308346084152875E-6, 1.0E-12, "jauNum06a", "13"); + vvd(rmatn[1][0], -8.83608633487074E-6, 1.0E-12, "jauNum06a", "21"); + vvd(rmatn[1][1], 0.9999999991354658, 1.0E-12, "jauNum06a", "22"); + vvd(rmatn[1][2], -4.063240188248455E-5, 1.0E-12, "jauNum06a", "23"); + vvd(rmatn[2][0], -3.831193642839398E-6, 1.0E-12, "jauNum06a", "31"); + vvd(rmatn[2][1], 4.0632368031014796E-5, 1.0E-12, "jauNum06a", "32"); + vvd(rmatn[2][2], 0.9999999991671663, 1.0E-12, "jauNum06a", "33"); + }); +test("t_numat", () => { let epsa: number; let dpsi: number; let deps: number; @@ -1194,85 +1106,76 @@ export class TSOFATest { dpsi = -9.630909107115582E-6; deps = 4.063239174001679E-5; const rmatn = TSOFA.jauNumat(epsa, dpsi, deps); - this.vvd(rmatn[0][0], 0.9999999999536228, 1.0E-12, "jauNumat", "11"); - this.vvd(rmatn[0][1], 8.83623932023625E-6, 1.0E-12, "jauNumat", "12"); - this.vvd(rmatn[0][2], 3.830833447458252E-6, 1.0E-12, "jauNumat", "13"); - this.vvd(rmatn[1][0], -8.83608365701669E-6, 1.0E-12, "jauNumat", "21"); - this.vvd(rmatn[1][1], 0.9999999991354654, 1.0E-12, "jauNumat", "22"); - this.vvd(rmatn[1][2], -4.0632408653618574E-5, 1.0E-12, "jauNumat", "23"); - this.vvd(rmatn[2][0], -3.8311924818333855E-6, 1.0E-12, "jauNumat", "31"); - this.vvd(rmatn[2][1], 4.063237480216934E-5, 1.0E-12, "jauNumat", "32"); - this.vvd(rmatn[2][2], 0.9999999991671661, 1.0E-12, "jauNumat", "33"); - } - @Test() - public t_nut00a() { + vvd(rmatn[0][0], 0.9999999999536228, 1.0E-12, "jauNumat", "11"); + vvd(rmatn[0][1], 8.83623932023625E-6, 1.0E-12, "jauNumat", "12"); + vvd(rmatn[0][2], 3.830833447458252E-6, 1.0E-12, "jauNumat", "13"); + vvd(rmatn[1][0], -8.83608365701669E-6, 1.0E-12, "jauNumat", "21"); + vvd(rmatn[1][1], 0.9999999991354654, 1.0E-12, "jauNumat", "22"); + vvd(rmatn[1][2], -4.0632408653618574E-5, 1.0E-12, "jauNumat", "23"); + vvd(rmatn[2][0], -3.8311924818333855E-6, 1.0E-12, "jauNumat", "31"); + vvd(rmatn[2][1], 4.063237480216934E-5, 1.0E-12, "jauNumat", "32"); + vvd(rmatn[2][2], 0.9999999991671661, 1.0E-12, "jauNumat", "33"); + }); +test("t_nut00a", () => { const nut: TSOFA.NutationTerms = TSOFA.jauNut00a(2400000.5, 53736.0); - this.vvd(nut.dpsi, -9.630909107115518E-6, 1.0E-13, "jauNut00a", "dpsi"); - this.vvd(nut.deps, 4.063239174001679E-5, 1.0E-13, "jauNut00a", "deps"); - } - @Test() - public t_nut00b() { + vvd(nut.dpsi, -9.630909107115518E-6, 1.0E-13, "jauNut00a", "dpsi"); + vvd(nut.deps, 4.063239174001679E-5, 1.0E-13, "jauNut00a", "deps"); + }); +test("t_nut00b", () => { const nut: TSOFA.NutationTerms = TSOFA.jauNut00b(2400000.5, 53736.0); - this.vvd(nut.dpsi, -9.632552291148363E-6, 1.0E-13, "jauNut00b", "dpsi"); - this.vvd(nut.deps, 4.063197106621159E-5, 1.0E-13, "jauNut00b", "deps"); - } - @Test() - public t_nut06a() { + vvd(nut.dpsi, -9.632552291148363E-6, 1.0E-13, "jauNut00b", "dpsi"); + vvd(nut.deps, 4.063197106621159E-5, 1.0E-13, "jauNut00b", "deps"); + }); +test("t_nut06a", () => { const nut: TSOFA.NutationTerms = TSOFA.jauNut06a(2400000.5, 53736.0); - this.vvd(nut.dpsi, -9.63091202582031E-6, 1.0E-13, "jauNut06a", "dpsi"); - this.vvd(nut.deps, 4.06323849688725E-5, 1.0E-13, "jauNut06a", "deps"); - } - @Test() - public t_nut80() { + vvd(nut.dpsi, -9.63091202582031E-6, 1.0E-13, "jauNut06a", "dpsi"); + vvd(nut.deps, 4.06323849688725E-5, 1.0E-13, "jauNut06a", "deps"); + }); +test("t_nut80", () => { const nut: TSOFA.NutationTerms = TSOFA.jauNut80(2400000.5, 53736.0); - this.vvd(nut.dpsi, -9.643658353226563E-6, 1.0E-13, "jauNut80", "dpsi"); - this.vvd(nut.deps, 4.060051006879713E-5, 1.0E-13, "jauNut80", "deps"); - } - @Test() - public t_nutm80() { + vvd(nut.dpsi, -9.643658353226563E-6, 1.0E-13, "jauNut80", "dpsi"); + vvd(nut.deps, 4.060051006879713E-5, 1.0E-13, "jauNut80", "deps"); + }); +test("t_nutm80", () => { const rmatn = TSOFA.jauNutm80(2400000.5, 53736.0); - this.vvd(rmatn[0][0], 0.9999999999535, 1.0E-12, "jauNutm80", "11"); - this.vvd(rmatn[0][1], 8.847935789636432E-6, 1.0E-12, "jauNutm80", "12"); - this.vvd(rmatn[0][2], 3.8359065021640195E-6, 1.0E-12, "jauNutm80", "13"); - this.vvd(rmatn[1][0], -8.847780042583437E-6, 1.0E-12, "jauNutm80", "21"); - this.vvd(rmatn[1][1], 0.999999999136657, 1.0E-12, "jauNutm80", "22"); - this.vvd(rmatn[1][2], -4.060052702727131E-5, 1.0E-12, "jauNutm80", "23"); - this.vvd(rmatn[2][0], -3.836265729708479E-6, 1.0E-12, "jauNutm80", "31"); - this.vvd(rmatn[2][1], 4.0600493086126384E-5, 1.0E-12, "jauNutm80", "32"); - this.vvd(rmatn[2][2], 0.9999999991684415, 1.0E-12, "jauNutm80", "33"); - } - @Test() - public t_obl06() { - this.vvd(TSOFA.jauObl06(2400000.5, 54388.0), 0.4090749229387258, 1.0E-14, "jauObl06", ""); - } - @Test() - public t_obl80() { + vvd(rmatn[0][0], 0.9999999999535, 1.0E-12, "jauNutm80", "11"); + vvd(rmatn[0][1], 8.847935789636432E-6, 1.0E-12, "jauNutm80", "12"); + vvd(rmatn[0][2], 3.8359065021640195E-6, 1.0E-12, "jauNutm80", "13"); + vvd(rmatn[1][0], -8.847780042583437E-6, 1.0E-12, "jauNutm80", "21"); + vvd(rmatn[1][1], 0.999999999136657, 1.0E-12, "jauNutm80", "22"); + vvd(rmatn[1][2], -4.060052702727131E-5, 1.0E-12, "jauNutm80", "23"); + vvd(rmatn[2][0], -3.836265729708479E-6, 1.0E-12, "jauNutm80", "31"); + vvd(rmatn[2][1], 4.0600493086126384E-5, 1.0E-12, "jauNutm80", "32"); + vvd(rmatn[2][2], 0.9999999991684415, 1.0E-12, "jauNutm80", "33"); + }); +test("t_obl06", () => { + vvd(TSOFA.jauObl06(2400000.5, 54388.0), 0.4090749229387258, 1.0E-14, "jauObl06", ""); + }); +test("t_obl80", () => { let eps0: number; eps0 = TSOFA.jauObl80(2400000.5, 54388.0); - this.vvd(eps0, 0.4090751347643816, 1.0E-14, "jauObl80", ""); - } - @Test() - public t_p06e() { + vvd(eps0, 0.4090751347643816, 1.0E-14, "jauObl80", ""); + }); +test("t_p06e", () => { const pa: TSOFA.PrecessionAngles = TSOFA.jauP06e(2400000.5, 52541.0); - this.vvd(pa.eps0, 0.4090926006005829, 1.0E-14, "jauP06e", "eps0"); - this.vvd(pa.psia, 6.664369630191613E-4, 1.0E-14, "jauP06e", "psia"); - this.vvd(pa.oma, 0.4090925973783256, 1.0E-14, "jauP06e", "oma"); - this.vvd(pa.bpa, 5.561149371265209E-7, 1.0E-14, "jauP06e", "bpa"); - this.vvd(pa.bqa, -6.191517193290621E-6, 1.0E-14, "jauP06e", "bqa"); - this.vvd(pa.pia, 6.216441751884383E-6, 1.0E-14, "jauP06e", "pia"); - this.vvd(pa.bpia, 3.0520141800237797, 1.0E-14, "jauP06e", "bpia"); - this.vvd(pa.epsa, 0.4090864054922432, 1.0E-14, "jauP06e", "epsa"); - this.vvd(pa.chia, 1.3877033795309153E-6, 1.0E-14, "jauP06e", "chia"); - this.vvd(pa.za, 2.9217898466517907E-4, 1.0E-14, "jauP06e", "za"); - this.vvd(pa.zetaa, 3.178773290332009E-4, 1.0E-14, "jauP06e", "zetaa"); - this.vvd(pa.thetaa, 2.6509327016574973E-4, 1.0E-14, "jauP06e", "thetaa"); - this.vvd(pa.pa, 6.651637681381016E-4, 1.0E-14, "jauP06e", "pa"); - this.vvd(pa.gam, 1.398077115963755E-6, 1.0E-14, "jauP06e", "gam"); - this.vvd(pa.phi, 0.40908640908374627, 1.0E-14, "jauP06e", "phi"); - this.vvd(pa.psi, 6.664464807480921E-4, 1.0E-14, "jauP06e", "psi"); - } - @Test() - public t_p2pv() { + vvd(pa.eps0, 0.4090926006005829, 1.0E-14, "jauP06e", "eps0"); + vvd(pa.psia, 6.664369630191613E-4, 1.0E-14, "jauP06e", "psia"); + vvd(pa.oma, 0.4090925973783256, 1.0E-14, "jauP06e", "oma"); + vvd(pa.bpa, 5.561149371265209E-7, 1.0E-14, "jauP06e", "bpa"); + vvd(pa.bqa, -6.191517193290621E-6, 1.0E-14, "jauP06e", "bqa"); + vvd(pa.pia, 6.216441751884383E-6, 1.0E-14, "jauP06e", "pia"); + vvd(pa.bpia, 3.0520141800237797, 1.0E-14, "jauP06e", "bpia"); + vvd(pa.epsa, 0.4090864054922432, 1.0E-14, "jauP06e", "epsa"); + vvd(pa.chia, 1.3877033795309153E-6, 1.0E-14, "jauP06e", "chia"); + vvd(pa.za, 2.9217898466517907E-4, 1.0E-14, "jauP06e", "za"); + vvd(pa.zetaa, 3.178773290332009E-4, 1.0E-14, "jauP06e", "zetaa"); + vvd(pa.thetaa, 2.6509327016574973E-4, 1.0E-14, "jauP06e", "thetaa"); + vvd(pa.pa, 6.651637681381016E-4, 1.0E-14, "jauP06e", "pa"); + vvd(pa.gam, 1.398077115963755E-6, 1.0E-14, "jauP06e", "gam"); + vvd(pa.phi, 0.40908640908374627, 1.0E-14, "jauP06e", "phi"); + vvd(pa.psi, 6.664464807480921E-4, 1.0E-14, "jauP06e", "psi"); + }); +test("t_p2pv", () => { const p: number[] = [0, 0, 0]; let pv: number[][] = TSOFA.CreateDimensionalArray([2, 3]); p[0] = 0.25; @@ -1285,26 +1188,24 @@ export class TSOFATest { pv[1][1] = 3.1; pv[1][2] = 0.9; pv = TSOFA.jauP2pv(p); - this.vvd(pv[0][0], 0.25, 0.0, "jauP2pv", "p1"); - this.vvd(pv[0][1], 1.2, 0.0, "jauP2pv", "p2"); - this.vvd(pv[0][2], 3.0, 0.0, "jauP2pv", "p3"); - this.vvd(pv[1][0], 0.0, 0.0, "jauP2pv", "v1"); - this.vvd(pv[1][1], 0.0, 0.0, "jauP2pv", "v2"); - this.vvd(pv[1][2], 0.0, 0.0, "jauP2pv", "v3"); - } - @Test() - public t_p2s() { + vvd(pv[0][0], 0.25, 0.0, "jauP2pv", "p1"); + vvd(pv[0][1], 1.2, 0.0, "jauP2pv", "p2"); + vvd(pv[0][2], 3.0, 0.0, "jauP2pv", "p3"); + vvd(pv[1][0], 0.0, 0.0, "jauP2pv", "v1"); + vvd(pv[1][1], 0.0, 0.0, "jauP2pv", "v2"); + vvd(pv[1][2], 0.0, 0.0, "jauP2pv", "v3"); + }); +test("t_p2s", () => { const p: number[] = [0, 0, 0]; p[0] = 100.0; p[1] = -50.0; p[2] = 25.0; const co: TSOFA.SphericalPosition = TSOFA.jauP2s(p); - this.vvd(co.theta, -0.4636476090008061, 1.0E-12, "jauP2s", "theta"); - this.vvd(co.phi, 0.21998797739545944, 1.0E-12, "jauP2s", "phi"); - this.vvd(co.r, 114.564392373896, 1.0E-9, "jauP2s", "r"); - } - @Test() - public t_pap() { + vvd(co.theta, -0.4636476090008061, 1.0E-12, "jauP2s", "theta"); + vvd(co.phi, 0.21998797739545944, 1.0E-12, "jauP2s", "phi"); + vvd(co.r, 114.564392373896, 1.0E-9, "jauP2s", "r"); + }); +test("t_pap", () => { const a: number[] = [0, 0, 0]; const b: number[] = [0, 0, 0]; let theta: number; @@ -1315,10 +1216,9 @@ export class TSOFATest { b[1] = 0.001; b[2] = 0.2; theta = TSOFA.jauPap(a, b); - this.vvd(theta, 0.3671514267841114, 1.0E-12, "jauPap", ""); - } - @Test() - public t_pas() { + vvd(theta, 0.3671514267841114, 1.0E-12, "jauPap", ""); + }); +test("t_pas", () => { let al: number; let ap: number; let bl: number; @@ -1329,17 +1229,15 @@ export class TSOFATest { bl = 0.2; bp = -1.0; theta = TSOFA.jauPas(al, ap, bl, bp); - this.vvd(theta, -2.7245449229322705, 1.0E-12, "jauPas", ""); - } - @Test() - public t_pb06() { + vvd(theta, -2.7245449229322705, 1.0E-12, "jauPas", ""); + }); +test("t_pb06", () => { const an: TSOFA.EulerAngles = TSOFA.jauPb06(2400000.5, 50123.9999); - this.vvd(an.zeta, -5.092634016326479E-4, 1.0E-12, "jauPb06", "bzeta"); - this.vvd(an.z, -3.6027720605660444E-4, 1.0E-12, "jauPb06", "bz"); - this.vvd(an.theta, -3.779735537167811E-4, 1.0E-12, "jauPb06", "btheta"); - } - @Test() - public t_pdp() { + vvd(an.zeta, -5.092634016326479E-4, 1.0E-12, "jauPb06", "bzeta"); + vvd(an.z, -3.6027720605660444E-4, 1.0E-12, "jauPb06", "bz"); + vvd(an.theta, -3.779735537167811E-4, 1.0E-12, "jauPb06", "btheta"); + }); +test("t_pdp", () => { const a: number[] = [0, 0, 0]; const b: number[] = [0, 0, 0]; let adb: number; @@ -1350,18 +1248,16 @@ export class TSOFATest { b[1] = 3.0; b[2] = 4.0; adb = TSOFA.jauPdp(a, b); - this.vvd(adb, 20, 1.0E-12, "jauPdp", ""); - } - @Test() - public t_pfw06() { + vvd(adb, 20, 1.0E-12, "jauPdp", ""); + }); +test("t_pfw06", () => { const fw: TSOFA.FWPrecessionAngles = TSOFA.jauPfw06(2400000.5, 50123.9999); - this.vvd(fw.gamb, -2.2433876709979958E-6, 1.0E-16, "jauPfw06", "gamb"); - this.vvd(fw.phib, 0.4091014602391313, 1.0E-12, "jauPfw06", "phib"); - this.vvd(fw.psib, -9.501954178013031E-4, 1.0E-14, "jauPfw06", "psib"); - this.vvd(fw.epsa, 0.40910143165873675, 1.0E-12, "jauPfw06", "epsa"); - } - @Test() - public t_plan94() { + vvd(fw.gamb, -2.2433876709979958E-6, 1.0E-16, "jauPfw06", "gamb"); + vvd(fw.phib, 0.4091014602391313, 1.0E-12, "jauPfw06", "phib"); + vvd(fw.psib, -9.501954178013031E-4, 1.0E-14, "jauPfw06", "psib"); + vvd(fw.epsa, 0.40910143165873675, 1.0E-12, "jauPfw06", "epsa"); + }); +test("t_plan94", () => { let pv: number[][]; try { pv = TSOFA.jauPlan94(2400000.5, 1000000.0, 0); @@ -1373,73 +1269,68 @@ export class TSOFATest { } try { pv = TSOFA.jauPlan94(2400000.5, -320000, 3); - this.vvd(pv[0][0], 0.9308038666832976, 1.0E-11, "jauPlan94", "x 3"); - this.vvd(pv[0][1], 0.3258319040261346, 1.0E-11, "jauPlan94", "y 3"); - this.vvd(pv[0][2], 0.14227945444811405, 1.0E-11, "jauPlan94", "z 3"); - this.vvd(pv[1][0], -0.00642945895825517, 1.0E-11, "jauPlan94", "xd 3"); - this.vvd(pv[1][1], 0.014685706577042377, 1.0E-11, "jauPlan94", "yd 3"); - this.vvd(pv[1][2], 0.006406996426270981, 1.0E-11, "jauPlan94", "zd 3"); + vvd(pv[0][0], 0.9308038666832976, 1.0E-11, "jauPlan94", "x 3"); + vvd(pv[0][1], 0.3258319040261346, 1.0E-11, "jauPlan94", "y 3"); + vvd(pv[0][2], 0.14227945444811405, 1.0E-11, "jauPlan94", "z 3"); + vvd(pv[1][0], -0.00642945895825517, 1.0E-11, "jauPlan94", "xd 3"); + vvd(pv[1][1], 0.014685706577042377, 1.0E-11, "jauPlan94", "yd 3"); + vvd(pv[1][2], 0.006406996426270981, 1.0E-11, "jauPlan94", "zd 3"); pv = TSOFA.jauPlan94(2400000.5, 43999.9, 1); - this.vvd(pv[0][0], 0.29452939592574306, 1.0E-11, "jauPlan94", "x 4"); - this.vvd(pv[0][1], -0.24522041766010497, 1.0E-11, "jauPlan94", "y 4"); - this.vvd(pv[0][2], -0.1615427700571978, 1.0E-11, "jauPlan94", "z 4"); - this.vvd(pv[1][0], 0.014138678714046145, 1.0E-11, "jauPlan94", "xd 4"); - this.vvd(pv[1][1], 0.019465483011047065, 1.0E-11, "jauPlan94", "yd 4"); - this.vvd(pv[1][2], 0.008929809783898904, 1.0E-11, "jauPlan94", "zd 4"); + vvd(pv[0][0], 0.29452939592574306, 1.0E-11, "jauPlan94", "x 4"); + vvd(pv[0][1], -0.24522041766010497, 1.0E-11, "jauPlan94", "y 4"); + vvd(pv[0][2], -0.1615427700571978, 1.0E-11, "jauPlan94", "z 4"); + vvd(pv[1][0], 0.014138678714046145, 1.0E-11, "jauPlan94", "xd 4"); + vvd(pv[1][1], 0.019465483011047065, 1.0E-11, "jauPlan94", "yd 4"); + vvd(pv[1][2], 0.008929809783898904, 1.0E-11, "jauPlan94", "zd 4"); } catch(e) { } - } - @Test() - public t_pmat00() { + }); +test("t_pmat00", () => { const rbp = TSOFA.jauPmat00(2400000.5, 50123.9999); - this.vvd(rbp[0][0], 0.9999995505175088, 1.0E-12, "jauPmat00", "11"); - this.vvd(rbp[0][1], 8.695405883617885E-4, 1.0E-14, "jauPmat00", "12"); - this.vvd(rbp[0][2], 3.779734722239007E-4, 1.0E-14, "jauPmat00", "13"); - this.vvd(rbp[1][0], -8.695405990410864E-4, 1.0E-14, "jauPmat00", "21"); - this.vvd(rbp[1][1], 0.9999996219494925, 1.0E-12, "jauPmat00", "22"); - this.vvd(rbp[1][2], -1.360775820404982E-7, 1.0E-14, "jauPmat00", "23"); - this.vvd(rbp[2][0], -3.779734476558185E-4, 1.0E-14, "jauPmat00", "31"); - this.vvd(rbp[2][1], -1.925857585832024E-7, 1.0E-14, "jauPmat00", "32"); - this.vvd(rbp[2][2], 0.9999999285680153, 1.0E-12, "jauPmat00", "33"); - } - @Test() - public t_pmat06() { + vvd(rbp[0][0], 0.9999995505175088, 1.0E-12, "jauPmat00", "11"); + vvd(rbp[0][1], 8.695405883617885E-4, 1.0E-14, "jauPmat00", "12"); + vvd(rbp[0][2], 3.779734722239007E-4, 1.0E-14, "jauPmat00", "13"); + vvd(rbp[1][0], -8.695405990410864E-4, 1.0E-14, "jauPmat00", "21"); + vvd(rbp[1][1], 0.9999996219494925, 1.0E-12, "jauPmat00", "22"); + vvd(rbp[1][2], -1.360775820404982E-7, 1.0E-14, "jauPmat00", "23"); + vvd(rbp[2][0], -3.779734476558185E-4, 1.0E-14, "jauPmat00", "31"); + vvd(rbp[2][1], -1.925857585832024E-7, 1.0E-14, "jauPmat00", "32"); + vvd(rbp[2][2], 0.9999999285680153, 1.0E-12, "jauPmat00", "33"); + }); +test("t_pmat06", () => { const rbp = TSOFA.jauPmat06(2400000.5, 50123.9999); - this.vvd(rbp[0][0], 0.9999995505176007, 1.0E-12, "jauPmat06", "11"); - this.vvd(rbp[0][1], 8.695404617348209E-4, 1.0E-14, "jauPmat06", "12"); - this.vvd(rbp[0][2], 3.779735201865589E-4, 1.0E-14, "jauPmat06", "13"); - this.vvd(rbp[1][0], -8.695404723772031E-4, 1.0E-14, "jauPmat06", "21"); - this.vvd(rbp[1][1], 0.9999996219496027, 1.0E-12, "jauPmat06", "22"); - this.vvd(rbp[1][2], -1.3617524970802702E-7, 1.0E-14, "jauPmat06", "23"); - this.vvd(rbp[2][0], -3.7797349570340897E-4, 1.0E-14, "jauPmat06", "31"); - this.vvd(rbp[2][1], -1.924880847894457E-7, 1.0E-14, "jauPmat06", "32"); - this.vvd(rbp[2][2], 0.9999999285679972, 1.0E-12, "jauPmat06", "33"); - } - @Test() - public t_pmat76() { + vvd(rbp[0][0], 0.9999995505176007, 1.0E-12, "jauPmat06", "11"); + vvd(rbp[0][1], 8.695404617348209E-4, 1.0E-14, "jauPmat06", "12"); + vvd(rbp[0][2], 3.779735201865589E-4, 1.0E-14, "jauPmat06", "13"); + vvd(rbp[1][0], -8.695404723772031E-4, 1.0E-14, "jauPmat06", "21"); + vvd(rbp[1][1], 0.9999996219496027, 1.0E-12, "jauPmat06", "22"); + vvd(rbp[1][2], -1.3617524970802702E-7, 1.0E-14, "jauPmat06", "23"); + vvd(rbp[2][0], -3.7797349570340897E-4, 1.0E-14, "jauPmat06", "31"); + vvd(rbp[2][1], -1.924880847894457E-7, 1.0E-14, "jauPmat06", "32"); + vvd(rbp[2][2], 0.9999999285679972, 1.0E-12, "jauPmat06", "33"); + }); +test("t_pmat76", () => { const rmatp = TSOFA.jauPmat76(2400000.5, 50123.9999); - this.vvd(rmatp[0][0], 0.9999995504328351, 1.0E-12, "jauPmat76", "11"); - this.vvd(rmatp[0][1], 8.696632209480961E-4, 1.0E-14, "jauPmat76", "12"); - this.vvd(rmatp[0][2], 3.7791534749598884E-4, 1.0E-14, "jauPmat76", "13"); - this.vvd(rmatp[1][0], -8.696632209485112E-4, 1.0E-14, "jauPmat76", "21"); - this.vvd(rmatp[1][1], 0.9999996218428561, 1.0E-12, "jauPmat76", "22"); - this.vvd(rmatp[1][2], -1.6432847761118864E-7, 1.0E-14, "jauPmat76", "23"); - this.vvd(rmatp[2][0], -3.779153474950335E-4, 1.0E-14, "jauPmat76", "31"); - this.vvd(rmatp[2][1], -1.643306746147367E-7, 1.0E-14, "jauPmat76", "32"); - this.vvd(rmatp[2][2], 0.999999928589979, 1.0E-12, "jauPmat76", "33"); - } - @Test() - public t_pm() { + vvd(rmatp[0][0], 0.9999995504328351, 1.0E-12, "jauPmat76", "11"); + vvd(rmatp[0][1], 8.696632209480961E-4, 1.0E-14, "jauPmat76", "12"); + vvd(rmatp[0][2], 3.7791534749598884E-4, 1.0E-14, "jauPmat76", "13"); + vvd(rmatp[1][0], -8.696632209485112E-4, 1.0E-14, "jauPmat76", "21"); + vvd(rmatp[1][1], 0.9999996218428561, 1.0E-12, "jauPmat76", "22"); + vvd(rmatp[1][2], -1.6432847761118864E-7, 1.0E-14, "jauPmat76", "23"); + vvd(rmatp[2][0], -3.779153474950335E-4, 1.0E-14, "jauPmat76", "31"); + vvd(rmatp[2][1], -1.643306746147367E-7, 1.0E-14, "jauPmat76", "32"); + vvd(rmatp[2][2], 0.999999928589979, 1.0E-12, "jauPmat76", "33"); + }); +test("t_pm", () => { const p: number[] = [0, 0, 0]; let r: number; p[0] = 0.3; p[1] = 1.2; p[2] = -2.5; r = TSOFA.jauPm(p); - this.vvd(r, 2.7892651361962706, 1.0E-12, "jauPm", ""); - } - @Test() - public t_pmp() { + vvd(r, 2.7892651361962706, 1.0E-12, "jauPm", ""); + }); +test("t_pmp", () => { const a: number[] = [0, 0, 0]; const b: number[] = [0, 0, 0]; let amb: number[] = [0, 0, 0]; @@ -1450,340 +1341,329 @@ export class TSOFATest { b[1] = 3.0; b[2] = 4.0; amb = TSOFA.jauPmp(a, b); - this.vvd(amb[0], 1.0, 1.0E-12, "jauPmp", "0"); - this.vvd(amb[1], -1.0, 1.0E-12, "jauPmp", "1"); - this.vvd(amb[2], -1.0, 1.0E-12, "jauPmp", "2"); - } - @Test() - public t_pn() { + vvd(amb[0], 1.0, 1.0E-12, "jauPmp", "0"); + vvd(amb[1], -1.0, 1.0E-12, "jauPmp", "1"); + vvd(amb[2], -1.0, 1.0E-12, "jauPmp", "2"); + }); +test("t_pn", () => { const p: number[] = [0, 0, 0]; p[0] = 0.3; p[1] = 1.2; p[2] = -2.5; const mv: TSOFA.NormalizedVector = TSOFA.jauPn(p); - this.vvd(mv.r, 2.7892651361962706, 1.0E-12, "jauPn", "r"); - this.vvd(mv.u[0], 0.10755521090731121, 1.0E-12, "jauPn", "u1"); - this.vvd(mv.u[1], 0.43022084362924484, 1.0E-12, "jauPn", "u2"); - this.vvd(mv.u[2], -0.8962934242275934, 1.0E-12, "jauPn", "u3"); - } - @Test() - public t_pn00() { + vvd(mv.r, 2.7892651361962706, 1.0E-12, "jauPn", "r"); + vvd(mv.u[0], 0.10755521090731121, 1.0E-12, "jauPn", "u1"); + vvd(mv.u[1], 0.43022084362924484, 1.0E-12, "jauPn", "u2"); + vvd(mv.u[2], -0.8962934242275934, 1.0E-12, "jauPn", "u3"); + }); +test("t_pn00", () => { let dpsi: number; let deps: number; dpsi = -9.632552291149336E-6; deps = 4.0631971066211414E-5; const pn: TSOFA.PrecessionNutation = TSOFA.jauPn00(2400000.5, 53736.0, dpsi, deps); - this.vvd(pn.epsa, 0.409079178940423, 1.0E-12, "jauPn00", "epsa"); - this.vvd(pn.rb[0][0], 0.9999999999999942, 1.0E-12, "jauPn00", "rb11"); - this.vvd(pn.rb[0][1], -7.078279744199197E-8, 1.0E-18, "jauPn00", "rb12"); - this.vvd(pn.rb[0][2], 8.056217146976134E-8, 1.0E-18, "jauPn00", "rb13"); - this.vvd(pn.rb[1][0], 7.078279477857338E-8, 1.0E-18, "jauPn00", "rb21"); - this.vvd(pn.rb[1][1], 0.999999999999997, 1.0E-12, "jauPn00", "rb22"); - this.vvd(pn.rb[1][2], 3.3060414542221364E-8, 1.0E-18, "jauPn00", "rb23"); - this.vvd(pn.rb[2][0], -8.056217380986972E-8, 1.0E-18, "jauPn00", "rb31"); - this.vvd(pn.rb[2][1], -3.3060408839805523E-8, 1.0E-18, "jauPn00", "rb32"); - this.vvd(pn.rb[2][2], 0.9999999999999962, 1.0E-12, "jauPn00", "rb33"); - this.vvd(pn.rp[0][0], 0.9999989300532289, 1.0E-12, "jauPn00", "rp11"); - this.vvd(pn.rp[0][1], -0.0013416472267918243, 1.0E-14, "jauPn00", "rp12"); - this.vvd(pn.rp[0][2], -5.829880927190296E-4, 1.0E-14, "jauPn00", "rp13"); - this.vvd(pn.rp[1][0], 0.001341647231069759, 1.0E-14, "jauPn00", "rp21"); - this.vvd(pn.rp[1][1], 0.999999099990875, 1.0E-12, "jauPn00", "rp22"); - this.vvd(pn.rp[1][2], -3.8374444415837154E-7, 1.0E-14, "jauPn00", "rp23"); - this.vvd(pn.rp[2][0], 5.829880828740958E-4, 1.0E-14, "jauPn00", "rp31"); - this.vvd(pn.rp[2][1], -3.984203267708835E-7, 1.0E-14, "jauPn00", "rp32"); - this.vvd(pn.rp[2][2], 0.9999998300623538, 1.0E-12, "jauPn00", "rp33"); - this.vvd(pn.rbp[0][0], 0.9999989300052244, 1.0E-12, "jauPn00", "rbp11"); - this.vvd(pn.rbp[0][1], -0.0013417179902397037, 1.0E-14, "jauPn00", "rbp12"); - this.vvd(pn.rbp[0][2], -5.829075749891684E-4, 1.0E-14, "jauPn00", "rbp13"); - this.vvd(pn.rbp[1][0], 0.00134171801383174, 1.0E-14, "jauPn00", "rbp21"); - this.vvd(pn.rbp[1][1], 0.9999990998959192, 1.0E-12, "jauPn00", "rbp22"); - this.vvd(pn.rbp[1][2], -3.505759733565421E-7, 1.0E-14, "jauPn00", "rbp23"); - this.vvd(pn.rbp[2][0], 5.829075206857718E-4, 1.0E-14, "jauPn00", "rbp31"); - this.vvd(pn.rbp[2][1], -4.315219955198609E-7, 1.0E-14, "jauPn00", "rbp32"); - this.vvd(pn.rbp[2][2], 0.9999998301093036, 1.0E-12, "jauPn00", "rbp33"); - this.vvd(pn.rn[0][0], 0.999999999953607, 1.0E-12, "jauPn00", "rn11"); - this.vvd(pn.rn[0][1], 8.83774614487214E-6, 1.0E-16, "jauPn00", "rn12"); - this.vvd(pn.rn[0][2], 3.83148883825259E-6, 1.0E-16, "jauPn00", "rn13"); - this.vvd(pn.rn[1][0], -8.837590456633198E-6, 1.0E-16, "jauPn00", "rn21"); - this.vvd(pn.rn[1][1], 0.9999999991354692, 1.0E-12, "jauPn00", "rn22"); - this.vvd(pn.rn[1][2], -4.063198798559574E-5, 1.0E-16, "jauPn00", "rn23"); - this.vvd(pn.rn[2][0], -3.831847930135328E-6, 1.0E-16, "jauPn00", "rn31"); - this.vvd(pn.rn[2][1], 4.0631954122581504E-5, 1.0E-16, "jauPn00", "rn32"); - this.vvd(pn.rn[2][2], 0.9999999991671806, 1.0E-12, "jauPn00", "rn33"); - this.vvd(pn.rbpn[0][0], 0.9999989440499982, 1.0E-12, "jauPn00", "rbpn11"); - this.vvd(pn.rbpn[0][1], -0.0013328802536408484, 1.0E-14, "jauPn00", "rbpn12"); - this.vvd(pn.rbpn[0][2], -5.790760898731087E-4, 1.0E-14, "jauPn00", "rbpn13"); - this.vvd(pn.rbpn[1][0], 0.0013328567469799487, 1.0E-14, "jauPn00", "rbpn21"); - this.vvd(pn.rbpn[1][1], 0.9999991109064769, 1.0E-12, "jauPn00", "rbpn22"); - this.vvd(pn.rbpn[1][2], -4.097740555723064E-5, 1.0E-14, "jauPn00", "rbpn23"); - this.vvd(pn.rbpn[2][0], 5.791301929950205E-4, 1.0E-14, "jauPn00", "rbpn31"); - this.vvd(pn.rbpn[2][1], 4.020553681373703E-5, 1.0E-14, "jauPn00", "rbpn32"); - this.vvd(pn.rbpn[2][2], 0.999999831495853, 1.0E-12, "jauPn00", "rbpn33"); - } - @Test() - public t_pn00a() { + vvd(pn.epsa, 0.409079178940423, 1.0E-12, "jauPn00", "epsa"); + vvd(pn.rb[0][0], 0.9999999999999942, 1.0E-12, "jauPn00", "rb11"); + vvd(pn.rb[0][1], -7.078279744199197E-8, 1.0E-18, "jauPn00", "rb12"); + vvd(pn.rb[0][2], 8.056217146976134E-8, 1.0E-18, "jauPn00", "rb13"); + vvd(pn.rb[1][0], 7.078279477857338E-8, 1.0E-18, "jauPn00", "rb21"); + vvd(pn.rb[1][1], 0.999999999999997, 1.0E-12, "jauPn00", "rb22"); + vvd(pn.rb[1][2], 3.3060414542221364E-8, 1.0E-18, "jauPn00", "rb23"); + vvd(pn.rb[2][0], -8.056217380986972E-8, 1.0E-18, "jauPn00", "rb31"); + vvd(pn.rb[2][1], -3.3060408839805523E-8, 1.0E-18, "jauPn00", "rb32"); + vvd(pn.rb[2][2], 0.9999999999999962, 1.0E-12, "jauPn00", "rb33"); + vvd(pn.rp[0][0], 0.9999989300532289, 1.0E-12, "jauPn00", "rp11"); + vvd(pn.rp[0][1], -0.0013416472267918243, 1.0E-14, "jauPn00", "rp12"); + vvd(pn.rp[0][2], -5.829880927190296E-4, 1.0E-14, "jauPn00", "rp13"); + vvd(pn.rp[1][0], 0.001341647231069759, 1.0E-14, "jauPn00", "rp21"); + vvd(pn.rp[1][1], 0.999999099990875, 1.0E-12, "jauPn00", "rp22"); + vvd(pn.rp[1][2], -3.8374444415837154E-7, 1.0E-14, "jauPn00", "rp23"); + vvd(pn.rp[2][0], 5.829880828740958E-4, 1.0E-14, "jauPn00", "rp31"); + vvd(pn.rp[2][1], -3.984203267708835E-7, 1.0E-14, "jauPn00", "rp32"); + vvd(pn.rp[2][2], 0.9999998300623538, 1.0E-12, "jauPn00", "rp33"); + vvd(pn.rbp[0][0], 0.9999989300052244, 1.0E-12, "jauPn00", "rbp11"); + vvd(pn.rbp[0][1], -0.0013417179902397037, 1.0E-14, "jauPn00", "rbp12"); + vvd(pn.rbp[0][2], -5.829075749891684E-4, 1.0E-14, "jauPn00", "rbp13"); + vvd(pn.rbp[1][0], 0.00134171801383174, 1.0E-14, "jauPn00", "rbp21"); + vvd(pn.rbp[1][1], 0.9999990998959192, 1.0E-12, "jauPn00", "rbp22"); + vvd(pn.rbp[1][2], -3.505759733565421E-7, 1.0E-14, "jauPn00", "rbp23"); + vvd(pn.rbp[2][0], 5.829075206857718E-4, 1.0E-14, "jauPn00", "rbp31"); + vvd(pn.rbp[2][1], -4.315219955198609E-7, 1.0E-14, "jauPn00", "rbp32"); + vvd(pn.rbp[2][2], 0.9999998301093036, 1.0E-12, "jauPn00", "rbp33"); + vvd(pn.rn[0][0], 0.999999999953607, 1.0E-12, "jauPn00", "rn11"); + vvd(pn.rn[0][1], 8.83774614487214E-6, 1.0E-16, "jauPn00", "rn12"); + vvd(pn.rn[0][2], 3.83148883825259E-6, 1.0E-16, "jauPn00", "rn13"); + vvd(pn.rn[1][0], -8.837590456633198E-6, 1.0E-16, "jauPn00", "rn21"); + vvd(pn.rn[1][1], 0.9999999991354692, 1.0E-12, "jauPn00", "rn22"); + vvd(pn.rn[1][2], -4.063198798559574E-5, 1.0E-16, "jauPn00", "rn23"); + vvd(pn.rn[2][0], -3.831847930135328E-6, 1.0E-16, "jauPn00", "rn31"); + vvd(pn.rn[2][1], 4.0631954122581504E-5, 1.0E-16, "jauPn00", "rn32"); + vvd(pn.rn[2][2], 0.9999999991671806, 1.0E-12, "jauPn00", "rn33"); + vvd(pn.rbpn[0][0], 0.9999989440499982, 1.0E-12, "jauPn00", "rbpn11"); + vvd(pn.rbpn[0][1], -0.0013328802536408484, 1.0E-14, "jauPn00", "rbpn12"); + vvd(pn.rbpn[0][2], -5.790760898731087E-4, 1.0E-14, "jauPn00", "rbpn13"); + vvd(pn.rbpn[1][0], 0.0013328567469799487, 1.0E-14, "jauPn00", "rbpn21"); + vvd(pn.rbpn[1][1], 0.9999991109064769, 1.0E-12, "jauPn00", "rbpn22"); + vvd(pn.rbpn[1][2], -4.097740555723064E-5, 1.0E-14, "jauPn00", "rbpn23"); + vvd(pn.rbpn[2][0], 5.791301929950205E-4, 1.0E-14, "jauPn00", "rbpn31"); + vvd(pn.rbpn[2][1], 4.020553681373703E-5, 1.0E-14, "jauPn00", "rbpn32"); + vvd(pn.rbpn[2][2], 0.999999831495853, 1.0E-12, "jauPn00", "rbpn33"); + }); +test("t_pn00a", () => { const pn: TSOFA.PrecessionNutation = TSOFA.jauPn00a(2400000.5, 53736.0); - this.vvd(pn.nut.dpsi, -9.630909107115518E-6, 1.0E-12, "jauPn00a", "dpsi"); - this.vvd(pn.nut.deps, 4.063239174001679E-5, 1.0E-12, "jauPn00a", "deps"); - this.vvd(pn.epsa, 0.409079178940423, 1.0E-12, "jauPn00a", "epsa"); - this.vvd(pn.rb[0][0], 0.9999999999999942, 1.0E-12, "jauPn00a", "rb11"); - this.vvd(pn.rb[0][1], -7.078279744199197E-8, 1.0E-16, "jauPn00a", "rb12"); - this.vvd(pn.rb[0][2], 8.056217146976134E-8, 1.0E-16, "jauPn00a", "rb13"); - this.vvd(pn.rb[1][0], 7.078279477857338E-8, 1.0E-16, "jauPn00a", "rb21"); - this.vvd(pn.rb[1][1], 0.999999999999997, 1.0E-12, "jauPn00a", "rb22"); - this.vvd(pn.rb[1][2], 3.3060414542221364E-8, 1.0E-16, "jauPn00a", "rb23"); - this.vvd(pn.rb[2][0], -8.056217380986972E-8, 1.0E-16, "jauPn00a", "rb31"); - this.vvd(pn.rb[2][1], -3.3060408839805523E-8, 1.0E-16, "jauPn00a", "rb32"); - this.vvd(pn.rb[2][2], 0.9999999999999962, 1.0E-12, "jauPn00a", "rb33"); - this.vvd(pn.rp[0][0], 0.9999989300532289, 1.0E-12, "jauPn00a", "rp11"); - this.vvd(pn.rp[0][1], -0.0013416472267918243, 1.0E-14, "jauPn00a", "rp12"); - this.vvd(pn.rp[0][2], -5.829880927190296E-4, 1.0E-14, "jauPn00a", "rp13"); - this.vvd(pn.rp[1][0], 0.001341647231069759, 1.0E-14, "jauPn00a", "rp21"); - this.vvd(pn.rp[1][1], 0.999999099990875, 1.0E-12, "jauPn00a", "rp22"); - this.vvd(pn.rp[1][2], -3.8374444415837154E-7, 1.0E-14, "jauPn00a", "rp23"); - this.vvd(pn.rp[2][0], 5.829880828740958E-4, 1.0E-14, "jauPn00a", "rp31"); - this.vvd(pn.rp[2][1], -3.984203267708835E-7, 1.0E-14, "jauPn00a", "rp32"); - this.vvd(pn.rp[2][2], 0.9999998300623538, 1.0E-12, "jauPn00a", "rp33"); - this.vvd(pn.rbp[0][0], 0.9999989300052244, 1.0E-12, "jauPn00a", "rbp11"); - this.vvd(pn.rbp[0][1], -0.0013417179902397037, 1.0E-14, "jauPn00a", "rbp12"); - this.vvd(pn.rbp[0][2], -5.829075749891684E-4, 1.0E-14, "jauPn00a", "rbp13"); - this.vvd(pn.rbp[1][0], 0.00134171801383174, 1.0E-14, "jauPn00a", "rbp21"); - this.vvd(pn.rbp[1][1], 0.9999990998959192, 1.0E-12, "jauPn00a", "rbp22"); - this.vvd(pn.rbp[1][2], -3.505759733565421E-7, 1.0E-14, "jauPn00a", "rbp23"); - this.vvd(pn.rbp[2][0], 5.829075206857718E-4, 1.0E-14, "jauPn00a", "rbp31"); - this.vvd(pn.rbp[2][1], -4.315219955198609E-7, 1.0E-14, "jauPn00a", "rbp32"); - this.vvd(pn.rbp[2][2], 0.9999998301093036, 1.0E-12, "jauPn00a", "rbp33"); - this.vvd(pn.rn[0][0], 0.9999999999536228, 1.0E-12, "jauPn00a", "rn11"); - this.vvd(pn.rn[0][1], 8.836238544090872E-6, 1.0E-14, "jauPn00a", "rn12"); - this.vvd(pn.rn[0][2], 3.830835237722401E-6, 1.0E-14, "jauPn00a", "rn13"); - this.vvd(pn.rn[1][0], -8.83608288079857E-6, 1.0E-14, "jauPn00a", "rn21"); - this.vvd(pn.rn[1][1], 0.9999999991354656, 1.0E-12, "jauPn00a", "rn22"); - this.vvd(pn.rn[1][2], -4.0632408653625E-5, 1.0E-14, "jauPn00a", "rn23"); - this.vvd(pn.rn[2][0], -3.831194272065996E-6, 1.0E-14, "jauPn00a", "rn31"); - this.vvd(pn.rn[2][1], 4.063237480216292E-5, 1.0E-14, "jauPn00a", "rn32"); - this.vvd(pn.rn[2][2], 0.9999999991671661, 1.0E-12, "jauPn00a", "rn33"); - this.vvd(pn.rbpn[0][0], 0.9999989440476104, 1.0E-12, "jauPn00a", "rbpn11"); - this.vvd(pn.rbpn[0][1], -0.0013328817612400117, 1.0E-14, "jauPn00a", "rbpn12"); - this.vvd(pn.rbpn[0][2], -5.790767434730086E-4, 1.0E-14, "jauPn00a", "rbpn13"); - this.vvd(pn.rbpn[1][0], 0.0013328582543089547, 1.0E-14, "jauPn00a", "rbpn21"); - this.vvd(pn.rbpn[1][1], 0.9999991109044506, 1.0E-12, "jauPn00a", "rbpn22"); - this.vvd(pn.rbpn[1][2], -4.0977827103965806E-5, 1.0E-14, "jauPn00a", "rbpn23"); - this.vvd(pn.rbpn[2][0], 5.791308472168153E-4, 1.0E-14, "jauPn00a", "rbpn31"); - this.vvd(pn.rbpn[2][1], 4.0205956615915E-5, 1.0E-14, "jauPn00a", "rbpn32"); - this.vvd(pn.rbpn[2][2], 0.9999998314954572, 1.0E-12, "jauPn00a", "rbpn33"); - } - @Test() - public t_pn00b() { + vvd(pn.nut.dpsi, -9.630909107115518E-6, 1.0E-12, "jauPn00a", "dpsi"); + vvd(pn.nut.deps, 4.063239174001679E-5, 1.0E-12, "jauPn00a", "deps"); + vvd(pn.epsa, 0.409079178940423, 1.0E-12, "jauPn00a", "epsa"); + vvd(pn.rb[0][0], 0.9999999999999942, 1.0E-12, "jauPn00a", "rb11"); + vvd(pn.rb[0][1], -7.078279744199197E-8, 1.0E-16, "jauPn00a", "rb12"); + vvd(pn.rb[0][2], 8.056217146976134E-8, 1.0E-16, "jauPn00a", "rb13"); + vvd(pn.rb[1][0], 7.078279477857338E-8, 1.0E-16, "jauPn00a", "rb21"); + vvd(pn.rb[1][1], 0.999999999999997, 1.0E-12, "jauPn00a", "rb22"); + vvd(pn.rb[1][2], 3.3060414542221364E-8, 1.0E-16, "jauPn00a", "rb23"); + vvd(pn.rb[2][0], -8.056217380986972E-8, 1.0E-16, "jauPn00a", "rb31"); + vvd(pn.rb[2][1], -3.3060408839805523E-8, 1.0E-16, "jauPn00a", "rb32"); + vvd(pn.rb[2][2], 0.9999999999999962, 1.0E-12, "jauPn00a", "rb33"); + vvd(pn.rp[0][0], 0.9999989300532289, 1.0E-12, "jauPn00a", "rp11"); + vvd(pn.rp[0][1], -0.0013416472267918243, 1.0E-14, "jauPn00a", "rp12"); + vvd(pn.rp[0][2], -5.829880927190296E-4, 1.0E-14, "jauPn00a", "rp13"); + vvd(pn.rp[1][0], 0.001341647231069759, 1.0E-14, "jauPn00a", "rp21"); + vvd(pn.rp[1][1], 0.999999099990875, 1.0E-12, "jauPn00a", "rp22"); + vvd(pn.rp[1][2], -3.8374444415837154E-7, 1.0E-14, "jauPn00a", "rp23"); + vvd(pn.rp[2][0], 5.829880828740958E-4, 1.0E-14, "jauPn00a", "rp31"); + vvd(pn.rp[2][1], -3.984203267708835E-7, 1.0E-14, "jauPn00a", "rp32"); + vvd(pn.rp[2][2], 0.9999998300623538, 1.0E-12, "jauPn00a", "rp33"); + vvd(pn.rbp[0][0], 0.9999989300052244, 1.0E-12, "jauPn00a", "rbp11"); + vvd(pn.rbp[0][1], -0.0013417179902397037, 1.0E-14, "jauPn00a", "rbp12"); + vvd(pn.rbp[0][2], -5.829075749891684E-4, 1.0E-14, "jauPn00a", "rbp13"); + vvd(pn.rbp[1][0], 0.00134171801383174, 1.0E-14, "jauPn00a", "rbp21"); + vvd(pn.rbp[1][1], 0.9999990998959192, 1.0E-12, "jauPn00a", "rbp22"); + vvd(pn.rbp[1][2], -3.505759733565421E-7, 1.0E-14, "jauPn00a", "rbp23"); + vvd(pn.rbp[2][0], 5.829075206857718E-4, 1.0E-14, "jauPn00a", "rbp31"); + vvd(pn.rbp[2][1], -4.315219955198609E-7, 1.0E-14, "jauPn00a", "rbp32"); + vvd(pn.rbp[2][2], 0.9999998301093036, 1.0E-12, "jauPn00a", "rbp33"); + vvd(pn.rn[0][0], 0.9999999999536228, 1.0E-12, "jauPn00a", "rn11"); + vvd(pn.rn[0][1], 8.836238544090872E-6, 1.0E-14, "jauPn00a", "rn12"); + vvd(pn.rn[0][2], 3.830835237722401E-6, 1.0E-14, "jauPn00a", "rn13"); + vvd(pn.rn[1][0], -8.83608288079857E-6, 1.0E-14, "jauPn00a", "rn21"); + vvd(pn.rn[1][1], 0.9999999991354656, 1.0E-12, "jauPn00a", "rn22"); + vvd(pn.rn[1][2], -4.0632408653625E-5, 1.0E-14, "jauPn00a", "rn23"); + vvd(pn.rn[2][0], -3.831194272065996E-6, 1.0E-14, "jauPn00a", "rn31"); + vvd(pn.rn[2][1], 4.063237480216292E-5, 1.0E-14, "jauPn00a", "rn32"); + vvd(pn.rn[2][2], 0.9999999991671661, 1.0E-12, "jauPn00a", "rn33"); + vvd(pn.rbpn[0][0], 0.9999989440476104, 1.0E-12, "jauPn00a", "rbpn11"); + vvd(pn.rbpn[0][1], -0.0013328817612400117, 1.0E-14, "jauPn00a", "rbpn12"); + vvd(pn.rbpn[0][2], -5.790767434730086E-4, 1.0E-14, "jauPn00a", "rbpn13"); + vvd(pn.rbpn[1][0], 0.0013328582543089547, 1.0E-14, "jauPn00a", "rbpn21"); + vvd(pn.rbpn[1][1], 0.9999991109044506, 1.0E-12, "jauPn00a", "rbpn22"); + vvd(pn.rbpn[1][2], -4.0977827103965806E-5, 1.0E-14, "jauPn00a", "rbpn23"); + vvd(pn.rbpn[2][0], 5.791308472168153E-4, 1.0E-14, "jauPn00a", "rbpn31"); + vvd(pn.rbpn[2][1], 4.0205956615915E-5, 1.0E-14, "jauPn00a", "rbpn32"); + vvd(pn.rbpn[2][2], 0.9999998314954572, 1.0E-12, "jauPn00a", "rbpn33"); + }); +test("t_pn00b", () => { const pn: TSOFA.PrecessionNutation = TSOFA.jauPn00b(2400000.5, 53736.0); - this.vvd(pn.nut.dpsi, -9.632552291148363E-6, 1.0E-12, "jauPn00b", "dpsi"); - this.vvd(pn.nut.deps, 4.063197106621159E-5, 1.0E-12, "jauPn00b", "deps"); - this.vvd(pn.epsa, 0.409079178940423, 1.0E-12, "jauPn00b", "epsa"); - this.vvd(pn.rb[0][0], 0.9999999999999942, 1.0E-12, "jauPn00b", "rb11"); - this.vvd(pn.rb[0][1], -7.078279744199197E-8, 1.0E-16, "jauPn00b", "rb12"); - this.vvd(pn.rb[0][2], 8.056217146976134E-8, 1.0E-16, "jauPn00b", "rb13"); - this.vvd(pn.rb[1][0], 7.078279477857338E-8, 1.0E-16, "jauPn00b", "rb21"); - this.vvd(pn.rb[1][1], 0.999999999999997, 1.0E-12, "jauPn00b", "rb22"); - this.vvd(pn.rb[1][2], 3.3060414542221364E-8, 1.0E-16, "jauPn00b", "rb23"); - this.vvd(pn.rb[2][0], -8.056217380986972E-8, 1.0E-16, "jauPn00b", "rb31"); - this.vvd(pn.rb[2][1], -3.3060408839805523E-8, 1.0E-16, "jauPn00b", "rb32"); - this.vvd(pn.rb[2][2], 0.9999999999999962, 1.0E-12, "jauPn00b", "rb33"); - this.vvd(pn.rp[0][0], 0.9999989300532289, 1.0E-12, "jauPn00b", "rp11"); - this.vvd(pn.rp[0][1], -0.0013416472267918243, 1.0E-14, "jauPn00b", "rp12"); - this.vvd(pn.rp[0][2], -5.829880927190296E-4, 1.0E-14, "jauPn00b", "rp13"); - this.vvd(pn.rp[1][0], 0.001341647231069759, 1.0E-14, "jauPn00b", "rp21"); - this.vvd(pn.rp[1][1], 0.999999099990875, 1.0E-12, "jauPn00b", "rp22"); - this.vvd(pn.rp[1][2], -3.8374444415837154E-7, 1.0E-14, "jauPn00b", "rp23"); - this.vvd(pn.rp[2][0], 5.829880828740958E-4, 1.0E-14, "jauPn00b", "rp31"); - this.vvd(pn.rp[2][1], -3.984203267708835E-7, 1.0E-14, "jauPn00b", "rp32"); - this.vvd(pn.rp[2][2], 0.9999998300623538, 1.0E-12, "jauPn00b", "rp33"); - this.vvd(pn.rbp[0][0], 0.9999989300052244, 1.0E-12, "jauPn00b", "rbp11"); - this.vvd(pn.rbp[0][1], -0.0013417179902397037, 1.0E-14, "jauPn00b", "rbp12"); - this.vvd(pn.rbp[0][2], -5.829075749891684E-4, 1.0E-14, "jauPn00b", "rbp13"); - this.vvd(pn.rbp[1][0], 0.00134171801383174, 1.0E-14, "jauPn00b", "rbp21"); - this.vvd(pn.rbp[1][1], 0.9999990998959192, 1.0E-12, "jauPn00b", "rbp22"); - this.vvd(pn.rbp[1][2], -3.505759733565421E-7, 1.0E-14, "jauPn00b", "rbp23"); - this.vvd(pn.rbp[2][0], 5.829075206857718E-4, 1.0E-14, "jauPn00b", "rbp31"); - this.vvd(pn.rbp[2][1], -4.315219955198609E-7, 1.0E-14, "jauPn00b", "rbp32"); - this.vvd(pn.rbp[2][2], 0.9999998301093036, 1.0E-12, "jauPn00b", "rbp33"); - this.vvd(pn.rn[0][0], 0.999999999953607, 1.0E-12, "jauPn00b", "rn11"); - this.vvd(pn.rn[0][1], 8.837746144871248E-6, 1.0E-14, "jauPn00b", "rn12"); - this.vvd(pn.rn[0][2], 3.831488838252203E-6, 1.0E-14, "jauPn00b", "rn13"); - this.vvd(pn.rn[1][0], -8.837590456632305E-6, 1.0E-14, "jauPn00b", "rn21"); - this.vvd(pn.rn[1][1], 0.9999999991354692, 1.0E-12, "jauPn00b", "rn22"); - this.vvd(pn.rn[1][2], -4.0631987985595914E-5, 1.0E-14, "jauPn00b", "rn23"); - this.vvd(pn.rn[2][0], -3.831847930134941E-6, 1.0E-14, "jauPn00b", "rn31"); - this.vvd(pn.rn[2][1], 4.063195412258168E-5, 1.0E-14, "jauPn00b", "rn32"); - this.vvd(pn.rn[2][2], 0.9999999991671806, 1.0E-12, "jauPn00b", "rn33"); - this.vvd(pn.rbpn[0][0], 0.9999989440499982, 1.0E-12, "jauPn00b", "rbpn11"); - this.vvd(pn.rbpn[0][1], -0.0013328802536408493, 1.0E-14, "jauPn00b", "rbpn12"); - this.vvd(pn.rbpn[0][2], -5.790760898731092E-4, 1.0E-14, "jauPn00b", "rbpn13"); - this.vvd(pn.rbpn[1][0], 0.0013328567469799496, 1.0E-14, "jauPn00b", "rbpn21"); - this.vvd(pn.rbpn[1][1], 0.9999991109064769, 1.0E-12, "jauPn00b", "rbpn22"); - this.vvd(pn.rbpn[1][2], -4.097740555723082E-5, 1.0E-14, "jauPn00b", "rbpn23"); - this.vvd(pn.rbpn[2][0], 5.791301929950209E-4, 1.0E-14, "jauPn00b", "rbpn31"); - this.vvd(pn.rbpn[2][1], 4.0205536813737205E-5, 1.0E-14, "jauPn00b", "rbpn32"); - this.vvd(pn.rbpn[2][2], 0.999999831495853, 1.0E-12, "jauPn00b", "rbpn33"); - } - @Test() - public t_pn06a() { + vvd(pn.nut.dpsi, -9.632552291148363E-6, 1.0E-12, "jauPn00b", "dpsi"); + vvd(pn.nut.deps, 4.063197106621159E-5, 1.0E-12, "jauPn00b", "deps"); + vvd(pn.epsa, 0.409079178940423, 1.0E-12, "jauPn00b", "epsa"); + vvd(pn.rb[0][0], 0.9999999999999942, 1.0E-12, "jauPn00b", "rb11"); + vvd(pn.rb[0][1], -7.078279744199197E-8, 1.0E-16, "jauPn00b", "rb12"); + vvd(pn.rb[0][2], 8.056217146976134E-8, 1.0E-16, "jauPn00b", "rb13"); + vvd(pn.rb[1][0], 7.078279477857338E-8, 1.0E-16, "jauPn00b", "rb21"); + vvd(pn.rb[1][1], 0.999999999999997, 1.0E-12, "jauPn00b", "rb22"); + vvd(pn.rb[1][2], 3.3060414542221364E-8, 1.0E-16, "jauPn00b", "rb23"); + vvd(pn.rb[2][0], -8.056217380986972E-8, 1.0E-16, "jauPn00b", "rb31"); + vvd(pn.rb[2][1], -3.3060408839805523E-8, 1.0E-16, "jauPn00b", "rb32"); + vvd(pn.rb[2][2], 0.9999999999999962, 1.0E-12, "jauPn00b", "rb33"); + vvd(pn.rp[0][0], 0.9999989300532289, 1.0E-12, "jauPn00b", "rp11"); + vvd(pn.rp[0][1], -0.0013416472267918243, 1.0E-14, "jauPn00b", "rp12"); + vvd(pn.rp[0][2], -5.829880927190296E-4, 1.0E-14, "jauPn00b", "rp13"); + vvd(pn.rp[1][0], 0.001341647231069759, 1.0E-14, "jauPn00b", "rp21"); + vvd(pn.rp[1][1], 0.999999099990875, 1.0E-12, "jauPn00b", "rp22"); + vvd(pn.rp[1][2], -3.8374444415837154E-7, 1.0E-14, "jauPn00b", "rp23"); + vvd(pn.rp[2][0], 5.829880828740958E-4, 1.0E-14, "jauPn00b", "rp31"); + vvd(pn.rp[2][1], -3.984203267708835E-7, 1.0E-14, "jauPn00b", "rp32"); + vvd(pn.rp[2][2], 0.9999998300623538, 1.0E-12, "jauPn00b", "rp33"); + vvd(pn.rbp[0][0], 0.9999989300052244, 1.0E-12, "jauPn00b", "rbp11"); + vvd(pn.rbp[0][1], -0.0013417179902397037, 1.0E-14, "jauPn00b", "rbp12"); + vvd(pn.rbp[0][2], -5.829075749891684E-4, 1.0E-14, "jauPn00b", "rbp13"); + vvd(pn.rbp[1][0], 0.00134171801383174, 1.0E-14, "jauPn00b", "rbp21"); + vvd(pn.rbp[1][1], 0.9999990998959192, 1.0E-12, "jauPn00b", "rbp22"); + vvd(pn.rbp[1][2], -3.505759733565421E-7, 1.0E-14, "jauPn00b", "rbp23"); + vvd(pn.rbp[2][0], 5.829075206857718E-4, 1.0E-14, "jauPn00b", "rbp31"); + vvd(pn.rbp[2][1], -4.315219955198609E-7, 1.0E-14, "jauPn00b", "rbp32"); + vvd(pn.rbp[2][2], 0.9999998301093036, 1.0E-12, "jauPn00b", "rbp33"); + vvd(pn.rn[0][0], 0.999999999953607, 1.0E-12, "jauPn00b", "rn11"); + vvd(pn.rn[0][1], 8.837746144871248E-6, 1.0E-14, "jauPn00b", "rn12"); + vvd(pn.rn[0][2], 3.831488838252203E-6, 1.0E-14, "jauPn00b", "rn13"); + vvd(pn.rn[1][0], -8.837590456632305E-6, 1.0E-14, "jauPn00b", "rn21"); + vvd(pn.rn[1][1], 0.9999999991354692, 1.0E-12, "jauPn00b", "rn22"); + vvd(pn.rn[1][2], -4.0631987985595914E-5, 1.0E-14, "jauPn00b", "rn23"); + vvd(pn.rn[2][0], -3.831847930134941E-6, 1.0E-14, "jauPn00b", "rn31"); + vvd(pn.rn[2][1], 4.063195412258168E-5, 1.0E-14, "jauPn00b", "rn32"); + vvd(pn.rn[2][2], 0.9999999991671806, 1.0E-12, "jauPn00b", "rn33"); + vvd(pn.rbpn[0][0], 0.9999989440499982, 1.0E-12, "jauPn00b", "rbpn11"); + vvd(pn.rbpn[0][1], -0.0013328802536408493, 1.0E-14, "jauPn00b", "rbpn12"); + vvd(pn.rbpn[0][2], -5.790760898731092E-4, 1.0E-14, "jauPn00b", "rbpn13"); + vvd(pn.rbpn[1][0], 0.0013328567469799496, 1.0E-14, "jauPn00b", "rbpn21"); + vvd(pn.rbpn[1][1], 0.9999991109064769, 1.0E-12, "jauPn00b", "rbpn22"); + vvd(pn.rbpn[1][2], -4.097740555723082E-5, 1.0E-14, "jauPn00b", "rbpn23"); + vvd(pn.rbpn[2][0], 5.791301929950209E-4, 1.0E-14, "jauPn00b", "rbpn31"); + vvd(pn.rbpn[2][1], 4.0205536813737205E-5, 1.0E-14, "jauPn00b", "rbpn32"); + vvd(pn.rbpn[2][2], 0.999999831495853, 1.0E-12, "jauPn00b", "rbpn33"); + }); +test("t_pn06a", () => { const pn: TSOFA.PrecessionNutation = TSOFA.jauPn06a(2400000.5, 53736.0); - this.vvd(pn.nut.dpsi, -9.63091202582031E-6, 1.0E-12, "jauPn06a", "dpsi"); - this.vvd(pn.nut.deps, 4.06323849688725E-5, 1.0E-12, "jauPn06a", "deps"); - this.vvd(pn.epsa, 0.409078976335651, 1.0E-12, "jauPn06a", "epsa"); - this.vvd(pn.rb[0][0], 0.9999999999999942, 1.0E-12, "jauPn06a", "rb11"); - this.vvd(pn.rb[0][1], -7.078368960971557E-8, 1.0E-14, "jauPn06a", "rb12"); - this.vvd(pn.rb[0][2], 8.056213977613186E-8, 1.0E-14, "jauPn06a", "rb13"); - this.vvd(pn.rb[1][0], 7.078368694637675E-8, 1.0E-14, "jauPn06a", "rb21"); - this.vvd(pn.rb[1][1], 0.999999999999997, 1.0E-12, "jauPn06a", "rb22"); - this.vvd(pn.rb[1][2], 3.305943742989134E-8, 1.0E-14, "jauPn06a", "rb23"); - this.vvd(pn.rb[2][0], -8.056214211620056E-8, 1.0E-14, "jauPn06a", "rb31"); - this.vvd(pn.rb[2][1], -3.305943172740587E-8, 1.0E-14, "jauPn06a", "rb32"); - this.vvd(pn.rb[2][2], 0.9999999999999962, 1.0E-12, "jauPn06a", "rb33"); - this.vvd(pn.rp[0][0], 0.9999989300536855, 1.0E-12, "jauPn06a", "rp11"); - this.vvd(pn.rp[0][1], -0.0013416468862044438, 1.0E-14, "jauPn06a", "rp12"); - this.vvd(pn.rp[0][2], -5.829880933488628E-4, 1.0E-14, "jauPn06a", "rp13"); - this.vvd(pn.rp[1][0], 0.0013416468905697821, 1.0E-14, "jauPn06a", "rp21"); - this.vvd(pn.rp[1][1], 0.999999099991332, 1.0E-12, "jauPn06a", "rp22"); - this.vvd(pn.rp[1][2], -3.835944216374477E-7, 1.0E-14, "jauPn06a", "rp23"); - this.vvd(pn.rp[2][0], 5.829880833027868E-4, 1.0E-14, "jauPn06a", "rp31"); - this.vvd(pn.rp[2][1], -3.985701514686976E-7, 1.0E-14, "jauPn06a", "rp32"); - this.vvd(pn.rp[2][2], 0.9999998300623535, 1.0E-12, "jauPn06a", "rp33"); - this.vvd(pn.rbp[0][0], 0.9999989300056797, 1.0E-12, "jauPn06a", "rbp11"); - this.vvd(pn.rbp[0][1], -0.0013417176505450595, 1.0E-14, "jauPn06a", "rbp12"); - this.vvd(pn.rbp[0][2], -5.829075756493729E-4, 1.0E-14, "jauPn06a", "rbp13"); - this.vvd(pn.rbp[1][0], 0.001341717674223918, 1.0E-14, "jauPn06a", "rbp21"); - this.vvd(pn.rbp[1][1], 0.9999990998963748, 1.0E-12, "jauPn06a", "rbp22"); - this.vvd(pn.rbp[1][2], -3.504269280170069E-7, 1.0E-14, "jauPn06a", "rbp23"); - this.vvd(pn.rbp[2][0], 5.829075211461455E-4, 1.0E-14, "jauPn06a", "rbp31"); - this.vvd(pn.rbp[2][1], -4.316708436255949E-7, 1.0E-14, "jauPn06a", "rbp32"); - this.vvd(pn.rbp[2][2], 0.9999998301093033, 1.0E-12, "jauPn06a", "rbp33"); - this.vvd(pn.rn[0][0], 0.9999999999536228, 1.0E-12, "jauPn06a", "rn11"); - this.vvd(pn.rn[0][1], 8.836241998111535E-6, 1.0E-14, "jauPn06a", "rn12"); - this.vvd(pn.rn[0][2], 3.8308346084152875E-6, 1.0E-14, "jauPn06a", "rn13"); - this.vvd(pn.rn[1][0], -8.83608633487074E-6, 1.0E-14, "jauPn06a", "rn21"); - this.vvd(pn.rn[1][1], 0.9999999991354658, 1.0E-12, "jauPn06a", "rn22"); - this.vvd(pn.rn[1][2], -4.063240188248455E-5, 1.0E-14, "jauPn06a", "rn23"); - this.vvd(pn.rn[2][0], -3.831193642839398E-6, 1.0E-14, "jauPn06a", "rn31"); - this.vvd(pn.rn[2][1], 4.0632368031014796E-5, 1.0E-14, "jauPn06a", "rn32"); - this.vvd(pn.rn[2][2], 0.9999999991671663, 1.0E-12, "jauPn06a", "rn33"); - this.vvd(pn.rbpn[0][0], 0.999998944048067, 1.0E-12, "jauPn06a", "rbpn11"); - this.vvd(pn.rbpn[0][1], -0.001332881418091916, 1.0E-14, "jauPn06a", "rbpn12"); - this.vvd(pn.rbpn[0][2], -5.790767447612043E-4, 1.0E-14, "jauPn06a", "rbpn13"); - this.vvd(pn.rbpn[1][0], 0.0013328579112509892, 1.0E-14, "jauPn06a", "rbpn21"); - this.vvd(pn.rbpn[1][1], 0.9999991109049142, 1.0E-12, "jauPn06a", "rbpn22"); - this.vvd(pn.rbpn[1][2], -4.097767128546785E-5, 1.0E-14, "jauPn06a", "rbpn23"); - this.vvd(pn.rbpn[2][0], 5.791308482835292E-4, 1.0E-14, "jauPn06a", "rbpn31"); - this.vvd(pn.rbpn[2][1], 4.0205800994540205E-5, 1.0E-14, "jauPn06a", "rbpn32"); - this.vvd(pn.rbpn[2][2], 0.9999998314954629, 1.0E-12, "jauPn06a", "rbpn33"); - } - @Test() - public t_pn06() { + vvd(pn.nut.dpsi, -9.63091202582031E-6, 1.0E-12, "jauPn06a", "dpsi"); + vvd(pn.nut.deps, 4.06323849688725E-5, 1.0E-12, "jauPn06a", "deps"); + vvd(pn.epsa, 0.409078976335651, 1.0E-12, "jauPn06a", "epsa"); + vvd(pn.rb[0][0], 0.9999999999999942, 1.0E-12, "jauPn06a", "rb11"); + vvd(pn.rb[0][1], -7.078368960971557E-8, 1.0E-14, "jauPn06a", "rb12"); + vvd(pn.rb[0][2], 8.056213977613186E-8, 1.0E-14, "jauPn06a", "rb13"); + vvd(pn.rb[1][0], 7.078368694637675E-8, 1.0E-14, "jauPn06a", "rb21"); + vvd(pn.rb[1][1], 0.999999999999997, 1.0E-12, "jauPn06a", "rb22"); + vvd(pn.rb[1][2], 3.305943742989134E-8, 1.0E-14, "jauPn06a", "rb23"); + vvd(pn.rb[2][0], -8.056214211620056E-8, 1.0E-14, "jauPn06a", "rb31"); + vvd(pn.rb[2][1], -3.305943172740587E-8, 1.0E-14, "jauPn06a", "rb32"); + vvd(pn.rb[2][2], 0.9999999999999962, 1.0E-12, "jauPn06a", "rb33"); + vvd(pn.rp[0][0], 0.9999989300536855, 1.0E-12, "jauPn06a", "rp11"); + vvd(pn.rp[0][1], -0.0013416468862044438, 1.0E-14, "jauPn06a", "rp12"); + vvd(pn.rp[0][2], -5.829880933488628E-4, 1.0E-14, "jauPn06a", "rp13"); + vvd(pn.rp[1][0], 0.0013416468905697821, 1.0E-14, "jauPn06a", "rp21"); + vvd(pn.rp[1][1], 0.999999099991332, 1.0E-12, "jauPn06a", "rp22"); + vvd(pn.rp[1][2], -3.835944216374477E-7, 1.0E-14, "jauPn06a", "rp23"); + vvd(pn.rp[2][0], 5.829880833027868E-4, 1.0E-14, "jauPn06a", "rp31"); + vvd(pn.rp[2][1], -3.985701514686976E-7, 1.0E-14, "jauPn06a", "rp32"); + vvd(pn.rp[2][2], 0.9999998300623535, 1.0E-12, "jauPn06a", "rp33"); + vvd(pn.rbp[0][0], 0.9999989300056797, 1.0E-12, "jauPn06a", "rbp11"); + vvd(pn.rbp[0][1], -0.0013417176505450595, 1.0E-14, "jauPn06a", "rbp12"); + vvd(pn.rbp[0][2], -5.829075756493729E-4, 1.0E-14, "jauPn06a", "rbp13"); + vvd(pn.rbp[1][0], 0.001341717674223918, 1.0E-14, "jauPn06a", "rbp21"); + vvd(pn.rbp[1][1], 0.9999990998963748, 1.0E-12, "jauPn06a", "rbp22"); + vvd(pn.rbp[1][2], -3.504269280170069E-7, 1.0E-14, "jauPn06a", "rbp23"); + vvd(pn.rbp[2][0], 5.829075211461455E-4, 1.0E-14, "jauPn06a", "rbp31"); + vvd(pn.rbp[2][1], -4.316708436255949E-7, 1.0E-14, "jauPn06a", "rbp32"); + vvd(pn.rbp[2][2], 0.9999998301093033, 1.0E-12, "jauPn06a", "rbp33"); + vvd(pn.rn[0][0], 0.9999999999536228, 1.0E-12, "jauPn06a", "rn11"); + vvd(pn.rn[0][1], 8.836241998111535E-6, 1.0E-14, "jauPn06a", "rn12"); + vvd(pn.rn[0][2], 3.8308346084152875E-6, 1.0E-14, "jauPn06a", "rn13"); + vvd(pn.rn[1][0], -8.83608633487074E-6, 1.0E-14, "jauPn06a", "rn21"); + vvd(pn.rn[1][1], 0.9999999991354658, 1.0E-12, "jauPn06a", "rn22"); + vvd(pn.rn[1][2], -4.063240188248455E-5, 1.0E-14, "jauPn06a", "rn23"); + vvd(pn.rn[2][0], -3.831193642839398E-6, 1.0E-14, "jauPn06a", "rn31"); + vvd(pn.rn[2][1], 4.0632368031014796E-5, 1.0E-14, "jauPn06a", "rn32"); + vvd(pn.rn[2][2], 0.9999999991671663, 1.0E-12, "jauPn06a", "rn33"); + vvd(pn.rbpn[0][0], 0.999998944048067, 1.0E-12, "jauPn06a", "rbpn11"); + vvd(pn.rbpn[0][1], -0.001332881418091916, 1.0E-14, "jauPn06a", "rbpn12"); + vvd(pn.rbpn[0][2], -5.790767447612043E-4, 1.0E-14, "jauPn06a", "rbpn13"); + vvd(pn.rbpn[1][0], 0.0013328579112509892, 1.0E-14, "jauPn06a", "rbpn21"); + vvd(pn.rbpn[1][1], 0.9999991109049142, 1.0E-12, "jauPn06a", "rbpn22"); + vvd(pn.rbpn[1][2], -4.097767128546785E-5, 1.0E-14, "jauPn06a", "rbpn23"); + vvd(pn.rbpn[2][0], 5.791308482835292E-4, 1.0E-14, "jauPn06a", "rbpn31"); + vvd(pn.rbpn[2][1], 4.0205800994540205E-5, 1.0E-14, "jauPn06a", "rbpn32"); + vvd(pn.rbpn[2][2], 0.9999998314954629, 1.0E-12, "jauPn06a", "rbpn33"); + }); +test("t_pn06", () => { let dpsi: number; let deps: number; dpsi = -9.632552291149336E-6; deps = 4.0631971066211414E-5; const pn: TSOFA.PrecessionNutation = TSOFA.jauPn06(2400000.5, 53736.0, dpsi, deps); - this.vvd(pn.epsa, 0.409078976335651, 1.0E-12, "jauPn06", "epsa"); - this.vvd(pn.rb[0][0], 0.9999999999999942, 1.0E-12, "jauPn06", "rb11"); - this.vvd(pn.rb[0][1], -7.078368960971557E-8, 1.0E-14, "jauPn06", "rb12"); - this.vvd(pn.rb[0][2], 8.056213977613186E-8, 1.0E-14, "jauPn06", "rb13"); - this.vvd(pn.rb[1][0], 7.078368694637675E-8, 1.0E-14, "jauPn06", "rb21"); - this.vvd(pn.rb[1][1], 0.999999999999997, 1.0E-12, "jauPn06", "rb22"); - this.vvd(pn.rb[1][2], 3.305943742989134E-8, 1.0E-14, "jauPn06", "rb23"); - this.vvd(pn.rb[2][0], -8.056214211620056E-8, 1.0E-14, "jauPn06", "rb31"); - this.vvd(pn.rb[2][1], -3.305943172740587E-8, 1.0E-14, "jauPn06", "rb32"); - this.vvd(pn.rb[2][2], 0.9999999999999962, 1.0E-12, "jauPn06", "rb33"); - this.vvd(pn.rp[0][0], 0.9999989300536855, 1.0E-12, "jauPn06", "rp11"); - this.vvd(pn.rp[0][1], -0.0013416468862044438, 1.0E-14, "jauPn06", "rp12"); - this.vvd(pn.rp[0][2], -5.829880933488628E-4, 1.0E-14, "jauPn06", "rp13"); - this.vvd(pn.rp[1][0], 0.0013416468905697821, 1.0E-14, "jauPn06", "rp21"); - this.vvd(pn.rp[1][1], 0.999999099991332, 1.0E-12, "jauPn06", "rp22"); - this.vvd(pn.rp[1][2], -3.835944216374477E-7, 1.0E-14, "jauPn06", "rp23"); - this.vvd(pn.rp[2][0], 5.829880833027868E-4, 1.0E-14, "jauPn06", "rp31"); - this.vvd(pn.rp[2][1], -3.985701514686976E-7, 1.0E-14, "jauPn06", "rp32"); - this.vvd(pn.rp[2][2], 0.9999998300623535, 1.0E-12, "jauPn06", "rp33"); - this.vvd(pn.rbp[0][0], 0.9999989300056797, 1.0E-12, "jauPn06", "rbp11"); - this.vvd(pn.rbp[0][1], -0.0013417176505450595, 1.0E-14, "jauPn06", "rbp12"); - this.vvd(pn.rbp[0][2], -5.829075756493729E-4, 1.0E-14, "jauPn06", "rbp13"); - this.vvd(pn.rbp[1][0], 0.001341717674223918, 1.0E-14, "jauPn06", "rbp21"); - this.vvd(pn.rbp[1][1], 0.9999990998963748, 1.0E-12, "jauPn06", "rbp22"); - this.vvd(pn.rbp[1][2], -3.504269280170069E-7, 1.0E-14, "jauPn06", "rbp23"); - this.vvd(pn.rbp[2][0], 5.829075211461455E-4, 1.0E-14, "jauPn06", "rbp31"); - this.vvd(pn.rbp[2][1], -4.316708436255949E-7, 1.0E-14, "jauPn06", "rbp32"); - this.vvd(pn.rbp[2][2], 0.9999998301093033, 1.0E-12, "jauPn06", "rbp33"); - this.vvd(pn.rn[0][0], 0.999999999953607, 1.0E-12, "jauPn06", "rn11"); - this.vvd(pn.rn[0][1], 8.837746921149881E-6, 1.0E-14, "jauPn06", "rn12"); - this.vvd(pn.rn[0][2], 3.831487047682968E-6, 1.0E-14, "jauPn06", "rn13"); - this.vvd(pn.rn[1][0], -8.837591232983692E-6, 1.0E-14, "jauPn06", "rn21"); - this.vvd(pn.rn[1][1], 0.9999999991354692, 1.0E-12, "jauPn06", "rn22"); - this.vvd(pn.rn[1][2], -4.0631987985589314E-5, 1.0E-14, "jauPn06", "rn23"); - this.vvd(pn.rn[2][0], -3.831846139597251E-6, 1.0E-14, "jauPn06", "rn31"); - this.vvd(pn.rn[2][1], 4.063195412258793E-5, 1.0E-14, "jauPn06", "rn32"); - this.vvd(pn.rn[2][2], 0.9999999991671806, 1.0E-12, "jauPn06", "rn33"); - this.vvd(pn.rbpn[0][0], 0.9999989440504506, 1.0E-12, "jauPn06", "rbpn11"); - this.vvd(pn.rbpn[0][1], -0.0013328799131704927, 1.0E-14, "jauPn06", "rbpn12"); - this.vvd(pn.rbpn[0][2], -5.790760923225656E-4, 1.0E-14, "jauPn06", "rbpn13"); - this.vvd(pn.rbpn[1][0], 0.0013328564065957548, 1.0E-14, "jauPn06", "rbpn21"); - this.vvd(pn.rbpn[1][1], 0.9999991109069367, 1.0E-12, "jauPn06", "rbpn22"); - this.vvd(pn.rbpn[1][2], -4.0977256511426416E-5, 1.0E-14, "jauPn06", "rbpn23"); - this.vvd(pn.rbpn[2][0], 5.791301952321297E-4, 1.0E-14, "jauPn06", "rbpn31"); - this.vvd(pn.rbpn[2][1], 4.02053879619523E-5, 1.0E-14, "jauPn06", "rbpn32"); - this.vvd(pn.rbpn[2][2], 0.9999998314958577, 1.0E-12, "jauPn06", "rbpn33"); - } - @Test() - public t_pnm00a() { + vvd(pn.epsa, 0.409078976335651, 1.0E-12, "jauPn06", "epsa"); + vvd(pn.rb[0][0], 0.9999999999999942, 1.0E-12, "jauPn06", "rb11"); + vvd(pn.rb[0][1], -7.078368960971557E-8, 1.0E-14, "jauPn06", "rb12"); + vvd(pn.rb[0][2], 8.056213977613186E-8, 1.0E-14, "jauPn06", "rb13"); + vvd(pn.rb[1][0], 7.078368694637675E-8, 1.0E-14, "jauPn06", "rb21"); + vvd(pn.rb[1][1], 0.999999999999997, 1.0E-12, "jauPn06", "rb22"); + vvd(pn.rb[1][2], 3.305943742989134E-8, 1.0E-14, "jauPn06", "rb23"); + vvd(pn.rb[2][0], -8.056214211620056E-8, 1.0E-14, "jauPn06", "rb31"); + vvd(pn.rb[2][1], -3.305943172740587E-8, 1.0E-14, "jauPn06", "rb32"); + vvd(pn.rb[2][2], 0.9999999999999962, 1.0E-12, "jauPn06", "rb33"); + vvd(pn.rp[0][0], 0.9999989300536855, 1.0E-12, "jauPn06", "rp11"); + vvd(pn.rp[0][1], -0.0013416468862044438, 1.0E-14, "jauPn06", "rp12"); + vvd(pn.rp[0][2], -5.829880933488628E-4, 1.0E-14, "jauPn06", "rp13"); + vvd(pn.rp[1][0], 0.0013416468905697821, 1.0E-14, "jauPn06", "rp21"); + vvd(pn.rp[1][1], 0.999999099991332, 1.0E-12, "jauPn06", "rp22"); + vvd(pn.rp[1][2], -3.835944216374477E-7, 1.0E-14, "jauPn06", "rp23"); + vvd(pn.rp[2][0], 5.829880833027868E-4, 1.0E-14, "jauPn06", "rp31"); + vvd(pn.rp[2][1], -3.985701514686976E-7, 1.0E-14, "jauPn06", "rp32"); + vvd(pn.rp[2][2], 0.9999998300623535, 1.0E-12, "jauPn06", "rp33"); + vvd(pn.rbp[0][0], 0.9999989300056797, 1.0E-12, "jauPn06", "rbp11"); + vvd(pn.rbp[0][1], -0.0013417176505450595, 1.0E-14, "jauPn06", "rbp12"); + vvd(pn.rbp[0][2], -5.829075756493729E-4, 1.0E-14, "jauPn06", "rbp13"); + vvd(pn.rbp[1][0], 0.001341717674223918, 1.0E-14, "jauPn06", "rbp21"); + vvd(pn.rbp[1][1], 0.9999990998963748, 1.0E-12, "jauPn06", "rbp22"); + vvd(pn.rbp[1][2], -3.504269280170069E-7, 1.0E-14, "jauPn06", "rbp23"); + vvd(pn.rbp[2][0], 5.829075211461455E-4, 1.0E-14, "jauPn06", "rbp31"); + vvd(pn.rbp[2][1], -4.316708436255949E-7, 1.0E-14, "jauPn06", "rbp32"); + vvd(pn.rbp[2][2], 0.9999998301093033, 1.0E-12, "jauPn06", "rbp33"); + vvd(pn.rn[0][0], 0.999999999953607, 1.0E-12, "jauPn06", "rn11"); + vvd(pn.rn[0][1], 8.837746921149881E-6, 1.0E-14, "jauPn06", "rn12"); + vvd(pn.rn[0][2], 3.831487047682968E-6, 1.0E-14, "jauPn06", "rn13"); + vvd(pn.rn[1][0], -8.837591232983692E-6, 1.0E-14, "jauPn06", "rn21"); + vvd(pn.rn[1][1], 0.9999999991354692, 1.0E-12, "jauPn06", "rn22"); + vvd(pn.rn[1][2], -4.0631987985589314E-5, 1.0E-14, "jauPn06", "rn23"); + vvd(pn.rn[2][0], -3.831846139597251E-6, 1.0E-14, "jauPn06", "rn31"); + vvd(pn.rn[2][1], 4.063195412258793E-5, 1.0E-14, "jauPn06", "rn32"); + vvd(pn.rn[2][2], 0.9999999991671806, 1.0E-12, "jauPn06", "rn33"); + vvd(pn.rbpn[0][0], 0.9999989440504506, 1.0E-12, "jauPn06", "rbpn11"); + vvd(pn.rbpn[0][1], -0.0013328799131704927, 1.0E-14, "jauPn06", "rbpn12"); + vvd(pn.rbpn[0][2], -5.790760923225656E-4, 1.0E-14, "jauPn06", "rbpn13"); + vvd(pn.rbpn[1][0], 0.0013328564065957548, 1.0E-14, "jauPn06", "rbpn21"); + vvd(pn.rbpn[1][1], 0.9999991109069367, 1.0E-12, "jauPn06", "rbpn22"); + vvd(pn.rbpn[1][2], -4.0977256511426416E-5, 1.0E-14, "jauPn06", "rbpn23"); + vvd(pn.rbpn[2][0], 5.791301952321297E-4, 1.0E-14, "jauPn06", "rbpn31"); + vvd(pn.rbpn[2][1], 4.02053879619523E-5, 1.0E-14, "jauPn06", "rbpn32"); + vvd(pn.rbpn[2][2], 0.9999998314958577, 1.0E-12, "jauPn06", "rbpn33"); + }); +test("t_pnm00a", () => { const rbpn = TSOFA.jauPnm00a(2400000.5, 50123.9999); - this.vvd(rbpn[0][0], 0.9999995832793134, 1.0E-12, "jauPnm00a", "11"); - this.vvd(rbpn[0][1], 8.372384254137809E-4, 1.0E-14, "jauPnm00a", "12"); - this.vvd(rbpn[0][2], 3.639684306407151E-4, 1.0E-14, "jauPnm00a", "13"); - this.vvd(rbpn[1][0], -8.372535226570394E-4, 1.0E-14, "jauPnm00a", "21"); - this.vvd(rbpn[1][1], 0.9999996486491582, 1.0E-12, "jauPnm00a", "22"); - this.vvd(rbpn[1][2], 4.132915262664073E-5, 1.0E-14, "jauPnm00a", "23"); - this.vvd(rbpn[2][0], -3.639337004054318E-4, 1.0E-14, "jauPnm00a", "31"); - this.vvd(rbpn[2][1], -4.163386925461776E-5, 1.0E-14, "jauPnm00a", "32"); - this.vvd(rbpn[2][2], 0.9999999329094391, 1.0E-12, "jauPnm00a", "33"); - } - @Test() - public t_pnm00b() { + vvd(rbpn[0][0], 0.9999995832793134, 1.0E-12, "jauPnm00a", "11"); + vvd(rbpn[0][1], 8.372384254137809E-4, 1.0E-14, "jauPnm00a", "12"); + vvd(rbpn[0][2], 3.639684306407151E-4, 1.0E-14, "jauPnm00a", "13"); + vvd(rbpn[1][0], -8.372535226570394E-4, 1.0E-14, "jauPnm00a", "21"); + vvd(rbpn[1][1], 0.9999996486491582, 1.0E-12, "jauPnm00a", "22"); + vvd(rbpn[1][2], 4.132915262664073E-5, 1.0E-14, "jauPnm00a", "23"); + vvd(rbpn[2][0], -3.639337004054318E-4, 1.0E-14, "jauPnm00a", "31"); + vvd(rbpn[2][1], -4.163386925461776E-5, 1.0E-14, "jauPnm00a", "32"); + vvd(rbpn[2][2], 0.9999999329094391, 1.0E-12, "jauPnm00a", "33"); + }); +test("t_pnm00b", () => { const rbpn = TSOFA.jauPnm00b(2400000.5, 50123.9999); - this.vvd(rbpn[0][0], 0.9999995832776208, 1.0E-12, "jauPnm00b", "11"); - this.vvd(rbpn[0][1], 8.372401264429655E-4, 1.0E-14, "jauPnm00b", "12"); - this.vvd(rbpn[0][2], 3.6396916814502716E-4, 1.0E-14, "jauPnm00b", "13"); - this.vvd(rbpn[1][0], -8.372552234147138E-4, 1.0E-14, "jauPnm00b", "21"); - this.vvd(rbpn[1][1], 0.9999996486477686, 1.0E-12, "jauPnm00b", "22"); - this.vvd(rbpn[1][2], 4.132832190946053E-5, 1.0E-14, "jauPnm00b", "23"); - this.vvd(rbpn[2][0], -3.639344385341866E-4, 1.0E-14, "jauPnm00b", "31"); - this.vvd(rbpn[2][1], -4.1633039774215225E-5, 1.0E-14, "jauPnm00b", "32"); - this.vvd(rbpn[2][2], 0.999999932909205, 1.0E-12, "jauPnm00b", "33"); - } - @Test() - public t_pnm06a() { + vvd(rbpn[0][0], 0.9999995832776208, 1.0E-12, "jauPnm00b", "11"); + vvd(rbpn[0][1], 8.372401264429655E-4, 1.0E-14, "jauPnm00b", "12"); + vvd(rbpn[0][2], 3.6396916814502716E-4, 1.0E-14, "jauPnm00b", "13"); + vvd(rbpn[1][0], -8.372552234147138E-4, 1.0E-14, "jauPnm00b", "21"); + vvd(rbpn[1][1], 0.9999996486477686, 1.0E-12, "jauPnm00b", "22"); + vvd(rbpn[1][2], 4.132832190946053E-5, 1.0E-14, "jauPnm00b", "23"); + vvd(rbpn[2][0], -3.639344385341866E-4, 1.0E-14, "jauPnm00b", "31"); + vvd(rbpn[2][1], -4.1633039774215225E-5, 1.0E-14, "jauPnm00b", "32"); + vvd(rbpn[2][2], 0.999999932909205, 1.0E-12, "jauPnm00b", "33"); + }); +test("t_pnm06a", () => { const rbpn = TSOFA.jauPnm06a(2400000.5, 50123.9999); - this.vvd(rbpn[0][0], 0.9999995832794205, 1.0E-12, "jauPnm06a", "11"); - this.vvd(rbpn[0][1], 8.372382772630962E-4, 1.0E-14, "jauPnm06a", "12"); - this.vvd(rbpn[0][2], 3.639684771140623E-4, 1.0E-14, "jauPnm06a", "13"); - this.vvd(rbpn[1][0], -8.372533744743683E-4, 1.0E-14, "jauPnm06a", "21"); - this.vvd(rbpn[1][1], 0.9999996486492861, 1.0E-12, "jauPnm06a", "22"); - this.vvd(rbpn[1][2], 4.1329059446110195E-5, 1.0E-14, "jauPnm06a", "23"); - this.vvd(rbpn[2][0], -3.639337469629465E-4, 1.0E-14, "jauPnm06a", "31"); - this.vvd(rbpn[2][1], -4.163377605910664E-5, 1.0E-14, "jauPnm06a", "32"); - this.vvd(rbpn[2][2], 0.999999932909426, 1.0E-12, "jauPnm06a", "33"); - } - @Test() - public t_pnm80() { + vvd(rbpn[0][0], 0.9999995832794205, 1.0E-12, "jauPnm06a", "11"); + vvd(rbpn[0][1], 8.372382772630962E-4, 1.0E-14, "jauPnm06a", "12"); + vvd(rbpn[0][2], 3.639684771140623E-4, 1.0E-14, "jauPnm06a", "13"); + vvd(rbpn[1][0], -8.372533744743683E-4, 1.0E-14, "jauPnm06a", "21"); + vvd(rbpn[1][1], 0.9999996486492861, 1.0E-12, "jauPnm06a", "22"); + vvd(rbpn[1][2], 4.1329059446110195E-5, 1.0E-14, "jauPnm06a", "23"); + vvd(rbpn[2][0], -3.639337469629465E-4, 1.0E-14, "jauPnm06a", "31"); + vvd(rbpn[2][1], -4.163377605910664E-5, 1.0E-14, "jauPnm06a", "32"); + vvd(rbpn[2][2], 0.999999932909426, 1.0E-12, "jauPnm06a", "33"); + }); +test("t_pnm80", () => { const rmatpn = TSOFA.jauPnm80(2400000.5, 50123.9999); - this.vvd(rmatpn[0][0], 0.9999995831934612, 1.0E-12, "jauPnm80", "11"); - this.vvd(rmatpn[0][1], 8.373654045728124E-4, 1.0E-14, "jauPnm80", "12"); - this.vvd(rmatpn[0][2], 3.639121916933106E-4, 1.0E-14, "jauPnm80", "13"); - this.vvd(rmatpn[1][0], -8.373804896118301E-4, 1.0E-14, "jauPnm80", "21"); - this.vvd(rmatpn[1][1], 0.9999996485439674, 1.0E-12, "jauPnm80", "22"); - this.vvd(rmatpn[1][2], 4.13020251042155E-5, 1.0E-14, "jauPnm80", "23"); - this.vvd(rmatpn[2][0], -3.638774789072144E-4, 1.0E-14, "jauPnm80", "31"); - this.vvd(rmatpn[2][1], -4.160674085851722E-5, 1.0E-14, "jauPnm80", "32"); - this.vvd(rmatpn[2][2], 0.9999999329310275, 1.0E-12, "jauPnm80", "33"); - } - @Test() - public t_pom00() { + vvd(rmatpn[0][0], 0.9999995831934612, 1.0E-12, "jauPnm80", "11"); + vvd(rmatpn[0][1], 8.373654045728124E-4, 1.0E-14, "jauPnm80", "12"); + vvd(rmatpn[0][2], 3.639121916933106E-4, 1.0E-14, "jauPnm80", "13"); + vvd(rmatpn[1][0], -8.373804896118301E-4, 1.0E-14, "jauPnm80", "21"); + vvd(rmatpn[1][1], 0.9999996485439674, 1.0E-12, "jauPnm80", "22"); + vvd(rmatpn[1][2], 4.13020251042155E-5, 1.0E-14, "jauPnm80", "23"); + vvd(rmatpn[2][0], -3.638774789072144E-4, 1.0E-14, "jauPnm80", "31"); + vvd(rmatpn[2][1], -4.160674085851722E-5, 1.0E-14, "jauPnm80", "32"); + vvd(rmatpn[2][2], 0.9999999329310275, 1.0E-12, "jauPnm80", "33"); + }); +test("t_pom00", () => { let xp: number; let yp: number; let sp: number; @@ -1791,15 +1671,15 @@ export class TSOFATest { yp = 1.860359247E-6; sp = -1.3671745807288915E-11; const rpom = TSOFA.jauPom00(xp, yp, sp); - this.vvd(rpom[0][0], 0.9999999999999675, 1.0E-12, "jauPom00", "11"); - this.vvd(rpom[0][1], -1.367174580728847E-11, 1.0E-16, "jauPom00", "12"); - this.vvd(rpom[0][2], 2.550602379999972E-7, 1.0E-16, "jauPom00", "13"); - this.vvd(rpom[1][0], 1.4146249479570297E-11, 1.0E-16, "jauPom00", "21"); - this.vvd(rpom[1][1], 0.9999999999982695, 1.0E-12, "jauPom00", "22"); - this.vvd(rpom[1][2], -1.8603592469988663E-6, 1.0E-16, "jauPom00", "23"); - this.vvd(rpom[2][0], -2.5506023797412153E-7, 1.0E-16, "jauPom00", "31"); - this.vvd(rpom[2][1], 1.860359247002414E-6, 1.0E-16, "jauPom00", "32"); - this.vvd(rpom[2][2], 0.999999999998237, 1.0E-12, "jauPom00", "33"); + vvd(rpom[0][0], 0.9999999999999675, 1.0E-12, "jauPom00", "11"); + vvd(rpom[0][1], -1.367174580728847E-11, 1.0E-16, "jauPom00", "12"); + vvd(rpom[0][2], 2.550602379999972E-7, 1.0E-16, "jauPom00", "13"); + vvd(rpom[1][0], 1.4146249479570297E-11, 1.0E-16, "jauPom00", "21"); + vvd(rpom[1][1], 0.9999999999982695, 1.0E-12, "jauPom00", "22"); + vvd(rpom[1][2], -1.8603592469988663E-6, 1.0E-16, "jauPom00", "23"); + vvd(rpom[2][0], -2.5506023797412153E-7, 1.0E-16, "jauPom00", "31"); + vvd(rpom[2][1], 1.860359247002414E-6, 1.0E-16, "jauPom00", "32"); + vvd(rpom[2][2], 0.999999999998237, 1.0E-12, "jauPom00", "33"); const vec: number[] = [0, 0, 1]; const vec2: number[] = TSOFA.jauRxp(rpom, vec); for(let index = 0; index < vec2.length; index++) { @@ -1808,9 +1688,8 @@ export class TSOFATest { console.info(d); } } - } - @Test() - public t_ppp() { + }); +test("t_ppp", () => { const a: number[] = [0, 0, 0]; const b: number[] = [0, 0, 0]; let apb: number[] = [0, 0, 0]; @@ -1821,12 +1700,11 @@ export class TSOFATest { b[1] = 3.0; b[2] = 4.0; apb = TSOFA.jauPpp(a, b); - this.vvd(apb[0], 3.0, 1.0E-12, "jauPpp", "0"); - this.vvd(apb[1], 5.0, 1.0E-12, "jauPpp", "1"); - this.vvd(apb[2], 7.0, 1.0E-12, "jauPpp", "2"); - } - @Test() - public t_ppsp() { + vvd(apb[0], 3.0, 1.0E-12, "jauPpp", "0"); + vvd(apb[1], 5.0, 1.0E-12, "jauPpp", "1"); + vvd(apb[2], 7.0, 1.0E-12, "jauPpp", "2"); + }); +test("t_ppsp", () => { const a: number[] = [0, 0, 0]; let s: number; const b: number[] = [0, 0, 0]; @@ -1839,18 +1717,16 @@ export class TSOFATest { b[1] = 3.0; b[2] = 4.0; apsb = TSOFA.jauPpsp(a, s, b); - this.vvd(apsb[0], 7.0, 1.0E-12, "jauPpsp", "0"); - this.vvd(apsb[1], 17.0, 1.0E-12, "jauPpsp", "1"); - this.vvd(apsb[2], 23.0, 1.0E-12, "jauPpsp", "2"); - } - @Test() - public t_pr00() { + vvd(apsb[0], 7.0, 1.0E-12, "jauPpsp", "0"); + vvd(apsb[1], 17.0, 1.0E-12, "jauPpsp", "1"); + vvd(apsb[2], 23.0, 1.0E-12, "jauPpsp", "2"); + }); +test("t_pr00", () => { const nut: TSOFA.PrecessionDeltaTerms = TSOFA.jauPr00(2400000.5, 53736); - this.vvd(nut.dpsipr, -8.716465172668348E-8, 1.0E-22, "jauPr00", "dpsipr"); - this.vvd(nut.depspr, -7.342018386722813E-9, 1.0E-22, "jauPr00", "depspr"); - } - @Test() - public t_prec76() { + vvd(nut.dpsipr, -8.716465172668348E-8, 1.0E-22, "jauPr00", "dpsipr"); + vvd(nut.depspr, -7.342018386722813E-9, 1.0E-22, "jauPr00", "depspr"); + }); +test("t_prec76", () => { let ep01: number; let ep02: number; let ep11: number; @@ -1860,12 +1736,11 @@ export class TSOFATest { ep11 = 2400000.5; ep12 = 51544.0; const an: TSOFA.EulerAngles = TSOFA.jauPrec76(ep01, ep02, ep11, ep12); - this.vvd(an.zeta, 0.005588961642000161, 1.0E-12, "jauPrec76", "zeta"); - this.vvd(an.z, 0.005589922365870681, 1.0E-12, "jauPrec76", "z"); - this.vvd(an.theta, 0.004858945471687297, 1.0E-12, "jauPrec76", "theta"); - } - @Test() - public t_pv2p() { + vvd(an.zeta, 0.005588961642000161, 1.0E-12, "jauPrec76", "zeta"); + vvd(an.z, 0.005589922365870681, 1.0E-12, "jauPrec76", "z"); + vvd(an.theta, 0.004858945471687297, 1.0E-12, "jauPrec76", "theta"); + }); +test("t_pv2p", () => { const pv: number[][] = TSOFA.CreateDimensionalArray([2, 3]); let p: number[] = [0, 0, 0]; pv[0][0] = 0.3; @@ -1875,12 +1750,11 @@ export class TSOFATest { pv[1][1] = 3.1; pv[1][2] = 0.9; p = TSOFA.jauPv2p(pv); - this.vvd(p[0], 0.3, 0.0, "jauPv2p", "1"); - this.vvd(p[1], 1.2, 0.0, "jauPv2p", "2"); - this.vvd(p[2], -2.5, 0.0, "jauPv2p", "3"); - } - @Test() - public t_pv2s() { + vvd(p[0], 0.3, 0.0, "jauPv2p", "1"); + vvd(p[1], 1.2, 0.0, "jauPv2p", "2"); + vvd(p[2], -2.5, 0.0, "jauPv2p", "3"); + }); +test("t_pv2s", () => { const pv: number[][] = TSOFA.CreateDimensionalArray([2, 3]); pv[0][0] = -0.4514964673880165; pv[0][1] = 0.03093394277342585; @@ -1889,15 +1763,14 @@ export class TSOFATest { pv[1][1] = 2.652814182060692E-6; pv[1][2] = 2.568431853930293E-6; const pvs: TSOFA.SphericalPositionVelocity = TSOFA.jauPv2s(pv); - this.vvd(pvs.pos.theta, 3.0731853071795867, 1.0E-12, "jauPv2s", "theta"); - this.vvd(pvs.pos.phi, 0.123, 1.0E-12, "jauPv2s", "phi"); - this.vvd(pvs.pos.r, 0.45599999999999996, 1.0E-12, "jauPv2s", "r"); - this.vvd(pvs.vel.theta, -7.8E-6, 1.0E-16, "jauPv2s", "td"); - this.vvd(pvs.vel.phi, 9.010000000000002E-6, 1.0E-16, "jauPv2s", "pd"); - this.vvd(pvs.vel.r, -1.2299999999999999E-5, 1.0E-16, "jauPv2s", "rd"); - } - @Test() - public t_pvdpv() { + vvd(pvs.pos.theta, 3.0731853071795867, 1.0E-12, "jauPv2s", "theta"); + vvd(pvs.pos.phi, 0.123, 1.0E-12, "jauPv2s", "phi"); + vvd(pvs.pos.r, 0.45599999999999996, 1.0E-12, "jauPv2s", "r"); + vvd(pvs.vel.theta, -7.8E-6, 1.0E-16, "jauPv2s", "td"); + vvd(pvs.vel.phi, 9.010000000000002E-6, 1.0E-16, "jauPv2s", "pd"); + vvd(pvs.vel.r, -1.2299999999999999E-5, 1.0E-16, "jauPv2s", "rd"); + }); +test("t_pvdpv", () => { const a: number[][] = TSOFA.CreateDimensionalArray([2, 3]); const b: number[][] = TSOFA.CreateDimensionalArray([2, 3]); let adb: number[] = [0, 0]; @@ -1914,11 +1787,10 @@ export class TSOFATest { b[1][1] = 2.0; b[1][2] = 8.0; adb = TSOFA.jauPvdpv(a, b); - this.vvd(adb[0], 20.0, 1.0E-12, "jauPvdpv", "1"); - this.vvd(adb[1], 50.0, 1.0E-12, "jauPvdpv", "2"); - } - @Test() - public t_pvm() { + vvd(adb[0], 20.0, 1.0E-12, "jauPvdpv", "1"); + vvd(adb[1], 50.0, 1.0E-12, "jauPvdpv", "2"); + }); +test("t_pvm", () => { const pv: number[][] = TSOFA.CreateDimensionalArray([2, 3]); pv[0][0] = 0.3; pv[0][1] = 1.2; @@ -1927,11 +1799,10 @@ export class TSOFATest { pv[1][1] = -0.25; pv[1][2] = 1.1; const ret: TSOFA.PVModulus = TSOFA.jauPvm(pv); - this.vvd(ret.r, 2.7892651361962706, 1.0E-12, "jauPvm", "r"); - this.vvd(ret.s, 1.2144957801491119, 1.0E-12, "jauPvm", "s"); - } - @Test() - public t_pvmpv() { + vvd(ret.r, 2.7892651361962706, 1.0E-12, "jauPvm", "r"); + vvd(ret.s, 1.2144957801491119, 1.0E-12, "jauPvm", "s"); + }); +test("t_pvmpv", () => { const a: number[][] = TSOFA.CreateDimensionalArray([2, 3]); const b: number[][] = TSOFA.CreateDimensionalArray([2, 3]); a[0][0] = 2.0; @@ -1947,15 +1818,14 @@ export class TSOFATest { b[1][1] = 2.0; b[1][2] = 1.0; const amb = TSOFA.jauPvmpv(a, b); - this.vvd(amb[0][0], 1.0, 1.0E-12, "jauPvmpv", "11"); - this.vvd(amb[0][1], -1.0, 1.0E-12, "jauPvmpv", "21"); - this.vvd(amb[0][2], -1.0, 1.0E-12, "jauPvmpv", "31"); - this.vvd(amb[1][0], 2.0, 1.0E-12, "jauPvmpv", "12"); - this.vvd(amb[1][1], 4.0, 1.0E-12, "jauPvmpv", "22"); - this.vvd(amb[1][2], 2.0, 1.0E-12, "jauPvmpv", "32"); - } - @Test() - public t_pvppv() { + vvd(amb[0][0], 1.0, 1.0E-12, "jauPvmpv", "11"); + vvd(amb[0][1], -1.0, 1.0E-12, "jauPvmpv", "21"); + vvd(amb[0][2], -1.0, 1.0E-12, "jauPvmpv", "31"); + vvd(amb[1][0], 2.0, 1.0E-12, "jauPvmpv", "12"); + vvd(amb[1][1], 4.0, 1.0E-12, "jauPvmpv", "22"); + vvd(amb[1][2], 2.0, 1.0E-12, "jauPvmpv", "32"); + }); +test("t_pvppv", () => { const a: number[][] = TSOFA.CreateDimensionalArray([2, 3]); const b: number[][] = TSOFA.CreateDimensionalArray([2, 3]); a[0][0] = 2.0; @@ -1971,15 +1841,14 @@ export class TSOFATest { b[1][1] = 2.0; b[1][2] = 1.0; const apb = TSOFA.jauPvppv(a, b); - this.vvd(apb[0][0], 3.0, 1.0E-12, "jauPvppv", "p1"); - this.vvd(apb[0][1], 5.0, 1.0E-12, "jauPvppv", "p2"); - this.vvd(apb[0][2], 7.0, 1.0E-12, "jauPvppv", "p3"); - this.vvd(apb[1][0], 8.0, 1.0E-12, "jauPvppv", "v1"); - this.vvd(apb[1][1], 8.0, 1.0E-12, "jauPvppv", "v2"); - this.vvd(apb[1][2], 4.0, 1.0E-12, "jauPvppv", "v3"); - } - @Test() - public t_pvstar() { + vvd(apb[0][0], 3.0, 1.0E-12, "jauPvppv", "p1"); + vvd(apb[0][1], 5.0, 1.0E-12, "jauPvppv", "p2"); + vvd(apb[0][2], 7.0, 1.0E-12, "jauPvppv", "p3"); + vvd(apb[1][0], 8.0, 1.0E-12, "jauPvppv", "v1"); + vvd(apb[1][1], 8.0, 1.0E-12, "jauPvppv", "v2"); + vvd(apb[1][2], 4.0, 1.0E-12, "jauPvppv", "v3"); + }); +test("t_pvstar", () => { const pv: number[][] = TSOFA.CreateDimensionalArray([2, 3]); pv[0][0] = 126668.59127431606; pv[0][1] = 2136.792716839935; @@ -1989,17 +1858,16 @@ export class TSOFATest { pv[1][2] = 0.011893537197741073; try { const cat: TSOFA.CatalogCoords = TSOFA.jauPvstar(pv); - this.vvd(cat.pos.alpha, 0.01686756, 1.0E-12, "jauPvstar", "ra"); - this.vvd(cat.pos.delta, -1.093989828, 1.0E-12, "jauPvstar", "dec"); - this.vvd(cat.pm.alpha, -1.7832351600004728E-5, 1.0E-16, "jauPvstar", "pmr"); - this.vvd(cat.pm.delta, 2.3360240470006194E-6, 1.0E-16, "jauPvstar", "pmd"); - this.vvd(cat.px, 0.74723, 1.0E-12, "jauPvstar", "px"); - this.vvd(cat.rv, -21.60000010107306, 1.0E-11, "jauPvstar", "rv"); + vvd(cat.pos.alpha, 0.01686756, 1.0E-12, "jauPvstar", "ra"); + vvd(cat.pos.delta, -1.093989828, 1.0E-12, "jauPvstar", "dec"); + vvd(cat.pm.alpha, -1.7832351600004728E-5, 1.0E-16, "jauPvstar", "pmr"); + vvd(cat.pm.delta, 2.3360240470006194E-6, 1.0E-16, "jauPvstar", "pmd"); + vvd(cat.px, 0.74723, 1.0E-12, "jauPvstar", "px"); + vvd(cat.rv, -21.60000010107306, 1.0E-11, "jauPvstar", "rv"); } catch(e) { } - } - @Test() - public t_pvu() { + }); +test("t_pvu", () => { const pv: number[][] = TSOFA.CreateDimensionalArray([2, 3]); pv[0][0] = 126668.59127431607; pv[0][1] = 2136.7927168399356; @@ -2008,15 +1876,14 @@ export class TSOFATest { pv[1][1] = -0.006253919754866176; pv[1][2] = 0.011893537197741076; const upv = TSOFA.jauPvu(2920.0, pv); - this.vvd(upv[0][0], 126656.7598605317, 1.0E-6, "jauPvu", "p1"); - this.vvd(upv[0][1], 2118.5312711557262, 1.0E-8, "jauPvu", "p2"); - this.vvd(upv[0][2], -245216.5048590656, 1.0E-6, "jauPvu", "p3"); - this.vvd(upv[1][0], -0.004051854035740713, 1.0E-12, "jauPvu", "v1"); - this.vvd(upv[1][1], -0.006253919754866176, 1.0E-12, "jauPvu", "v2"); - this.vvd(upv[1][2], 0.011893537197741076, 1.0E-12, "jauPvu", "v3"); - } - @Test() - public t_pvup() { + vvd(upv[0][0], 126656.7598605317, 1.0E-6, "jauPvu", "p1"); + vvd(upv[0][1], 2118.5312711557262, 1.0E-8, "jauPvu", "p2"); + vvd(upv[0][2], -245216.5048590656, 1.0E-6, "jauPvu", "p3"); + vvd(upv[1][0], -0.004051854035740713, 1.0E-12, "jauPvu", "v1"); + vvd(upv[1][1], -0.006253919754866176, 1.0E-12, "jauPvu", "v2"); + vvd(upv[1][2], 0.011893537197741076, 1.0E-12, "jauPvu", "v3"); + }); +test("t_pvup", () => { const pv: number[][] = TSOFA.CreateDimensionalArray([2, 3]); pv[0][0] = 126668.59127431607; pv[0][1] = 2136.7927168399356; @@ -2025,12 +1892,11 @@ export class TSOFATest { pv[1][1] = -0.006253919754866176; pv[1][2] = 0.011893537197741076; const p = TSOFA.jauPvup(2920.0, pv); - this.vvd(p[0], 126656.7598605317, 1.0E-12, "jauPvup", "1"); - this.vvd(p[1], 2118.5312711557262, 1.0E-12, "jauPvup", "2"); - this.vvd(p[2], -245216.5048590656, 1.0E-12, "jauPvup", "3"); - } - @Test() - public t_pvxpv() { + vvd(p[0], 126656.7598605317, 1.0E-12, "jauPvup", "1"); + vvd(p[1], 2118.5312711557262, 1.0E-12, "jauPvup", "2"); + vvd(p[2], -245216.5048590656, 1.0E-12, "jauPvup", "3"); + }); +test("t_pvxpv", () => { const a: number[][] = TSOFA.CreateDimensionalArray([2, 3]); const b: number[][] = TSOFA.CreateDimensionalArray([2, 3]); a[0][0] = 2.0; @@ -2046,15 +1912,14 @@ export class TSOFATest { b[1][1] = 2.0; b[1][2] = 8.0; const axb = TSOFA.jauPvxpv(a, b); - this.vvd(axb[0][0], -1.0, 1.0E-12, "jauPvxpv", "p1"); - this.vvd(axb[0][1], -5.0, 1.0E-12, "jauPvxpv", "p2"); - this.vvd(axb[0][2], 4.0, 1.0E-12, "jauPvxpv", "p3"); - this.vvd(axb[1][0], -2.0, 1.0E-12, "jauPvxpv", "v1"); - this.vvd(axb[1][1], -36.0, 1.0E-12, "jauPvxpv", "v2"); - this.vvd(axb[1][2], 22.0, 1.0E-12, "jauPvxpv", "v3"); - } - @Test() - public t_pxp() { + vvd(axb[0][0], -1.0, 1.0E-12, "jauPvxpv", "p1"); + vvd(axb[0][1], -5.0, 1.0E-12, "jauPvxpv", "p2"); + vvd(axb[0][2], 4.0, 1.0E-12, "jauPvxpv", "p3"); + vvd(axb[1][0], -2.0, 1.0E-12, "jauPvxpv", "v1"); + vvd(axb[1][1], -36.0, 1.0E-12, "jauPvxpv", "v2"); + vvd(axb[1][2], 22.0, 1.0E-12, "jauPvxpv", "v3"); + }); +test("t_pxp", () => { const a: number[] = [0, 0, 0]; const b: number[] = [0, 0, 0]; let axb: number[] = [0, 0, 0]; @@ -2065,12 +1930,11 @@ export class TSOFATest { b[1] = 3.0; b[2] = 4.0; axb = TSOFA.jauPxp(a, b); - this.vvd(axb[0], -1.0, 1.0E-12, "jauPxp", "1"); - this.vvd(axb[1], -5.0, 1.0E-12, "jauPxp", "2"); - this.vvd(axb[2], 4.0, 1.0E-12, "jauPxp", "3"); - } - @Test() - public t_rm2v() { + vvd(axb[0], -1.0, 1.0E-12, "jauPxp", "1"); + vvd(axb[1], -5.0, 1.0E-12, "jauPxp", "2"); + vvd(axb[2], 4.0, 1.0E-12, "jauPxp", "3"); + }); +test("t_rm2v", () => { const r: number[][] = TSOFA.CreateDimensionalArray([3, 3]); r[0][0] = 0.0; r[0][1] = -0.8; @@ -2082,29 +1946,27 @@ export class TSOFATest { r[2][1] = 0.48; r[2][2] = -0.64; const w = TSOFA.jauRm2v(r); - this.vvd(w[0], 0.0, 1.0E-12, "jauRm2v", "1"); - this.vvd(w[1], 1.413716694115407, 1.0E-12, "jauRm2v", "2"); - this.vvd(w[2], -1.8849555921538759, 1.0E-12, "jauRm2v", "3"); - } - @Test() - public t_rv2m() { + vvd(w[0], 0.0, 1.0E-12, "jauRm2v", "1"); + vvd(w[1], 1.413716694115407, 1.0E-12, "jauRm2v", "2"); + vvd(w[2], -1.8849555921538759, 1.0E-12, "jauRm2v", "3"); + }); +test("t_rv2m", () => { const w: number[] = [0, 0, 0]; w[0] = 0.0; w[1] = 1.41371669; w[2] = -1.88495559; const r = TSOFA.jauRv2m(w); - this.vvd(r[0][0], -0.707106778222112, 1.0E-14, "jauRv2m", "11"); - this.vvd(r[0][1], -0.565685427680913, 1.0E-14, "jauRv2m", "12"); - this.vvd(r[0][2], -0.4242640700104211, 1.0E-14, "jauRv2m", "13"); - this.vvd(r[1][0], 0.565685427680913, 1.0E-14, "jauRv2m", "21"); - this.vvd(r[1][1], -0.09254833945322742, 1.0E-14, "jauRv2m", "22"); - this.vvd(r[1][2], -0.8194112531408834, 1.0E-14, "jauRv2m", "23"); - this.vvd(r[2][0], 0.4242640700104211, 1.0E-14, "jauRv2m", "31"); - this.vvd(r[2][1], -0.8194112531408834, 1.0E-14, "jauRv2m", "32"); - this.vvd(r[2][2], 0.38544156123111545, 1.0E-14, "jauRv2m", "33"); - } - @Test() - public t_rx() { + vvd(r[0][0], -0.707106778222112, 1.0E-14, "jauRv2m", "11"); + vvd(r[0][1], -0.565685427680913, 1.0E-14, "jauRv2m", "12"); + vvd(r[0][2], -0.4242640700104211, 1.0E-14, "jauRv2m", "13"); + vvd(r[1][0], 0.565685427680913, 1.0E-14, "jauRv2m", "21"); + vvd(r[1][1], -0.09254833945322742, 1.0E-14, "jauRv2m", "22"); + vvd(r[1][2], -0.8194112531408834, 1.0E-14, "jauRv2m", "23"); + vvd(r[2][0], 0.4242640700104211, 1.0E-14, "jauRv2m", "31"); + vvd(r[2][1], -0.8194112531408834, 1.0E-14, "jauRv2m", "32"); + vvd(r[2][2], 0.38544156123111545, 1.0E-14, "jauRv2m", "33"); + }); +test("t_rx", () => { let phi: number; const r: number[][] = TSOFA.CreateDimensionalArray([3, 3]); phi = 0.3456789; @@ -2118,18 +1980,17 @@ export class TSOFATest { r[2][1] = 4.0; r[2][2] = 5.0; TSOFA.jauRx(phi, r); - this.vvd(r[0][0], 2.0, 0.0, "jauRx", "11"); - this.vvd(r[0][1], 3.0, 0.0, "jauRx", "12"); - this.vvd(r[0][2], 2.0, 0.0, "jauRx", "13"); - this.vvd(r[1][0], 3.8390433882356123, 1.0E-12, "jauRx", "21"); - this.vvd(r[1][1], 3.237033249594112, 1.0E-12, "jauRx", "22"); - this.vvd(r[1][2], 4.5167143790059825, 1.0E-12, "jauRx", "23"); - this.vvd(r[2][0], 1.8060304159245018, 1.0E-12, "jauRx", "31"); - this.vvd(r[2][1], 3.0857115453363724, 1.0E-12, "jauRx", "32"); - this.vvd(r[2][2], 3.6877216839778733, 1.0E-12, "jauRx", "33"); - } - @Test() - public t_rxp() { + vvd(r[0][0], 2.0, 0.0, "jauRx", "11"); + vvd(r[0][1], 3.0, 0.0, "jauRx", "12"); + vvd(r[0][2], 2.0, 0.0, "jauRx", "13"); + vvd(r[1][0], 3.8390433882356123, 1.0E-12, "jauRx", "21"); + vvd(r[1][1], 3.237033249594112, 1.0E-12, "jauRx", "22"); + vvd(r[1][2], 4.5167143790059825, 1.0E-12, "jauRx", "23"); + vvd(r[2][0], 1.8060304159245018, 1.0E-12, "jauRx", "31"); + vvd(r[2][1], 3.0857115453363724, 1.0E-12, "jauRx", "32"); + vvd(r[2][2], 3.6877216839778733, 1.0E-12, "jauRx", "33"); + }); +test("t_rxp", () => { const r: number[][] = TSOFA.CreateDimensionalArray([3, 3]); const p: number[] = [0, 0, 0]; r[0][0] = 2.0; @@ -2145,12 +2006,11 @@ export class TSOFATest { p[1] = 1.5; p[2] = 0.1; const rp = TSOFA.jauRxp(r, p); - this.vvd(rp[0], 5.1, 1.0E-12, "jauRxp", "1"); - this.vvd(rp[1], 3.9, 1.0E-12, "jauRxp", "2"); - this.vvd(rp[2], 7.1, 1.0E-12, "jauRxp", "3"); - } - @Test() - public t_rxpv() { + vvd(rp[0], 5.1, 1.0E-12, "jauRxp", "1"); + vvd(rp[1], 3.9, 1.0E-12, "jauRxp", "2"); + vvd(rp[2], 7.1, 1.0E-12, "jauRxp", "3"); + }); +test("t_rxpv", () => { const r: number[][] = TSOFA.CreateDimensionalArray([3, 3]); const pv: number[][] = TSOFA.CreateDimensionalArray([2, 3]); r[0][0] = 2.0; @@ -2169,15 +2029,14 @@ export class TSOFATest { pv[1][1] = 0.2; pv[1][2] = 0.1; const rpv = TSOFA.jauRxpv(r, pv); - this.vvd(rpv[0][0], 5.1, 1.0E-12, "jauRxpv", "11"); - this.vvd(rpv[1][0], 3.8, 1.0E-12, "jauRxpv", "12"); - this.vvd(rpv[0][1], 3.9, 1.0E-12, "jauRxpv", "21"); - this.vvd(rpv[1][1], 5.2, 1.0E-12, "jauRxpv", "22"); - this.vvd(rpv[0][2], 7.1, 1.0E-12, "jauRxpv", "31"); - this.vvd(rpv[1][2], 5.8, 1.0E-12, "jauRxpv", "32"); - } - @Test() - public t_rxr() { + vvd(rpv[0][0], 5.1, 1.0E-12, "jauRxpv", "11"); + vvd(rpv[1][0], 3.8, 1.0E-12, "jauRxpv", "12"); + vvd(rpv[0][1], 3.9, 1.0E-12, "jauRxpv", "21"); + vvd(rpv[1][1], 5.2, 1.0E-12, "jauRxpv", "22"); + vvd(rpv[0][2], 7.1, 1.0E-12, "jauRxpv", "31"); + vvd(rpv[1][2], 5.8, 1.0E-12, "jauRxpv", "32"); + }); +test("t_rxr", () => { const a: number[][] = TSOFA.CreateDimensionalArray([3, 3]); const b: number[][] = TSOFA.CreateDimensionalArray([3, 3]); a[0][0] = 2.0; @@ -2199,18 +2058,17 @@ export class TSOFATest { b[2][1] = 0.0; b[2][2] = 1.0; const atb = TSOFA.jauRxr(a, b); - this.vvd(atb[0][0], 20.0, 1.0E-12, "jauRxr", "11"); - this.vvd(atb[0][1], 7.0, 1.0E-12, "jauRxr", "12"); - this.vvd(atb[0][2], 9.0, 1.0E-12, "jauRxr", "13"); - this.vvd(atb[1][0], 20.0, 1.0E-12, "jauRxr", "21"); - this.vvd(atb[1][1], 8.0, 1.0E-12, "jauRxr", "22"); - this.vvd(atb[1][2], 11.0, 1.0E-12, "jauRxr", "23"); - this.vvd(atb[2][0], 34.0, 1.0E-12, "jauRxr", "31"); - this.vvd(atb[2][1], 10.0, 1.0E-12, "jauRxr", "32"); - this.vvd(atb[2][2], 15.0, 1.0E-12, "jauRxr", "33"); - } - @Test() - public t_ry() { + vvd(atb[0][0], 20.0, 1.0E-12, "jauRxr", "11"); + vvd(atb[0][1], 7.0, 1.0E-12, "jauRxr", "12"); + vvd(atb[0][2], 9.0, 1.0E-12, "jauRxr", "13"); + vvd(atb[1][0], 20.0, 1.0E-12, "jauRxr", "21"); + vvd(atb[1][1], 8.0, 1.0E-12, "jauRxr", "22"); + vvd(atb[1][2], 11.0, 1.0E-12, "jauRxr", "23"); + vvd(atb[2][0], 34.0, 1.0E-12, "jauRxr", "31"); + vvd(atb[2][1], 10.0, 1.0E-12, "jauRxr", "32"); + vvd(atb[2][2], 15.0, 1.0E-12, "jauRxr", "33"); + }); +test("t_ry", () => { let theta: number; const r: number[][] = TSOFA.CreateDimensionalArray([3, 3]); theta = 0.3456789; @@ -2224,18 +2082,17 @@ export class TSOFATest { r[2][1] = 4.0; r[2][2] = 5.0; TSOFA.jauRy(theta, r); - this.vvd(r[0][0], 0.865184781897816, 1.0E-12, "jauRy", "11"); - this.vvd(r[0][1], 1.4671949205393167, 1.0E-12, "jauRy", "12"); - this.vvd(r[0][2], 0.18751379112744573, 1.0E-12, "jauRy", "13"); - this.vvd(r[1][0], 3, 1.0E-12, "jauRy", "21"); - this.vvd(r[1][1], 2, 1.0E-12, "jauRy", "22"); - this.vvd(r[1][2], 3, 1.0E-12, "jauRy", "23"); - this.vvd(r[2][0], 3.5002078928504274, 1.0E-12, "jauRy", "31"); - this.vvd(r[2][1], 4.7798890222622985, 1.0E-12, "jauRy", "32"); - this.vvd(r[2][2], 5.3818991609037985, 1.0E-12, "jauRy", "33"); - } - @Test() - public t_rz() { + vvd(r[0][0], 0.865184781897816, 1.0E-12, "jauRy", "11"); + vvd(r[0][1], 1.4671949205393167, 1.0E-12, "jauRy", "12"); + vvd(r[0][2], 0.18751379112744573, 1.0E-12, "jauRy", "13"); + vvd(r[1][0], 3, 1.0E-12, "jauRy", "21"); + vvd(r[1][1], 2, 1.0E-12, "jauRy", "22"); + vvd(r[1][2], 3, 1.0E-12, "jauRy", "23"); + vvd(r[2][0], 3.5002078928504274, 1.0E-12, "jauRy", "31"); + vvd(r[2][1], 4.7798890222622985, 1.0E-12, "jauRy", "32"); + vvd(r[2][2], 5.3818991609037985, 1.0E-12, "jauRy", "33"); + }); +test("t_rz", () => { let psi: number; const r: number[][] = TSOFA.CreateDimensionalArray([3, 3]); psi = 0.3456789; @@ -2249,82 +2106,73 @@ export class TSOFATest { r[2][1] = 4.0; r[2][2] = 5.0; TSOFA.jauRz(psi, r); - this.vvd(r[0][0], 2.8981977542089266, 1.0E-12, "jauRz", "11"); - this.vvd(r[0][1], 3.5002078928504274, 1.0E-12, "jauRz", "12"); - this.vvd(r[0][2], 2.8981977542089266, 1.0E-12, "jauRz", "13"); - this.vvd(r[1][0], 2.1448659113096866, 1.0E-12, "jauRz", "21"); - this.vvd(r[1][1], 0.865184781897816, 1.0E-12, "jauRz", "22"); - this.vvd(r[1][2], 2.1448659113096866, 1.0E-12, "jauRz", "23"); - this.vvd(r[2][0], 3.0, 1.0E-12, "jauRz", "31"); - this.vvd(r[2][1], 4.0, 1.0E-12, "jauRz", "32"); - this.vvd(r[2][2], 5.0, 1.0E-12, "jauRz", "33"); - } - @Test() - public t_s00a() { + vvd(r[0][0], 2.8981977542089266, 1.0E-12, "jauRz", "11"); + vvd(r[0][1], 3.5002078928504274, 1.0E-12, "jauRz", "12"); + vvd(r[0][2], 2.8981977542089266, 1.0E-12, "jauRz", "13"); + vvd(r[1][0], 2.1448659113096866, 1.0E-12, "jauRz", "21"); + vvd(r[1][1], 0.865184781897816, 1.0E-12, "jauRz", "22"); + vvd(r[1][2], 2.1448659113096866, 1.0E-12, "jauRz", "23"); + vvd(r[2][0], 3.0, 1.0E-12, "jauRz", "31"); + vvd(r[2][1], 4.0, 1.0E-12, "jauRz", "32"); + vvd(r[2][2], 5.0, 1.0E-12, "jauRz", "33"); + }); +test("t_s00a", () => { let s: number; s = TSOFA.jauS00a(2400000.5, 52541.0); - this.vvd(s, -1.3406844489191635E-8, 1.0E-18, "jauS00a", ""); - } - @Test() - public t_s00b() { + vvd(s, -1.3406844489191635E-8, 1.0E-18, "jauS00a", ""); + }); +test("t_s00b", () => { let s: number; s = TSOFA.jauS00b(2400000.5, 52541.0); - this.vvd(s, -1.3406957829510266E-8, 1.0E-18, "jauS00b", ""); - } - @Test() - public t_s00() { + vvd(s, -1.3406957829510266E-8, 1.0E-18, "jauS00b", ""); + }); +test("t_s00", () => { let x: number; let y: number; let s: number; x = 5.791308486706011E-4; y = 4.020579816732961E-5; s = TSOFA.jauS00(2400000.5, 53736.0, x, y); - this.vvd(s, -1.2200362632709057E-8, 1.0E-18, "jauS00", ""); - } - @Test() - public t_s06a() { + vvd(s, -1.2200362632709057E-8, 1.0E-18, "jauS00", ""); + }); +test("t_s06a", () => { let s: number; s = TSOFA.jauS06a(2400000.5, 52541.0); - this.vvd(s, -1.3406804372918124E-8, 1.0E-18, "jauS06a", ""); - } - @Test() - public t_s06() { + vvd(s, -1.3406804372918124E-8, 1.0E-18, "jauS06a", ""); + }); +test("t_s06", () => { let x: number; let y: number; let s: number; x = 5.791308486706011E-4; y = 4.020579816732961E-5; s = TSOFA.jauS06(2400000.5, 53736.0, x, y); - this.vvd(s, -1.220032213076463E-8, 1.0E-18, "jauS06", ""); - } - @Test() - public t_s2c() { + vvd(s, -1.220032213076463E-8, 1.0E-18, "jauS06", ""); + }); +test("t_s2c", () => { let c: number[] = [0, 0, 0]; c = TSOFA.jauS2c(3.0123, -0.999); - this.vvd(c[0], -0.5366267667260524, 1.0E-12, "jauS2c", "1"); - this.vvd(c[1], 0.06977111097651453, 1.0E-12, "jauS2c", "2"); - this.vvd(c[2], -0.8409302618566215, 1.0E-12, "jauS2c", "3"); - } - @Test() - public t_s2p() { + vvd(c[0], -0.5366267667260524, 1.0E-12, "jauS2c", "1"); + vvd(c[1], 0.06977111097651453, 1.0E-12, "jauS2c", "2"); + vvd(c[2], -0.8409302618566215, 1.0E-12, "jauS2c", "3"); + }); +test("t_s2p", () => { let p: number[] = [0, 0, 0]; p = TSOFA.jauS2p(-3.21, 0.123, 0.456); - this.vvd(p[0], -0.4514964673880165, 1.0E-12, "jauS2p", "x"); - this.vvd(p[1], 0.030933942773425867, 1.0E-12, "jauS2p", "y"); - this.vvd(p[2], 0.05594668105108779, 1.0E-12, "jauS2p", "z"); - } - @Test() - public t_s2pv() { + vvd(p[0], -0.4514964673880165, 1.0E-12, "jauS2p", "x"); + vvd(p[1], 0.030933942773425867, 1.0E-12, "jauS2p", "y"); + vvd(p[2], 0.05594668105108779, 1.0E-12, "jauS2p", "z"); + }); +test("t_s2pv", () => { const pv = TSOFA.jauS2pv(-3.21, 0.123, 0.456, -7.8E-6, 9.01E-6, -1.23E-5); - this.vvd(pv[0][0], -0.4514964673880165, 1.0E-12, "jauS2pv", "x"); - this.vvd(pv[0][1], 0.030933942773425867, 1.0E-12, "jauS2pv", "y"); - this.vvd(pv[0][2], 0.05594668105108779, 1.0E-12, "jauS2pv", "z"); - this.vvd(pv[1][0], 1.2922708506632602E-5, 1.0E-16, "jauS2pv", "vx"); - this.vvd(pv[1][1], 2.6528141820606914E-6, 1.0E-16, "jauS2pv", "vy"); - this.vvd(pv[1][2], 2.568431853930292E-6, 1.0E-16, "jauS2pv", "vz"); - } - @Test() - public t_s2xpv() { + vvd(pv[0][0], -0.4514964673880165, 1.0E-12, "jauS2pv", "x"); + vvd(pv[0][1], 0.030933942773425867, 1.0E-12, "jauS2pv", "y"); + vvd(pv[0][2], 0.05594668105108779, 1.0E-12, "jauS2pv", "z"); + vvd(pv[1][0], 1.2922708506632602E-5, 1.0E-16, "jauS2pv", "vx"); + vvd(pv[1][1], 2.6528141820606914E-6, 1.0E-16, "jauS2pv", "vy"); + vvd(pv[1][2], 2.568431853930292E-6, 1.0E-16, "jauS2pv", "vz"); + }); +test("t_s2xpv", () => { let s1: number; let s2: number; const pv: number[][] = TSOFA.CreateDimensionalArray([2, 3]); @@ -2337,15 +2185,14 @@ export class TSOFATest { pv[1][1] = 2.3; pv[1][2] = -0.4; const spv = TSOFA.jauS2xpv(s1, s2, pv); - this.vvd(spv[0][0], 0.6, 1.0E-12, "jauS2xpv", "p1"); - this.vvd(spv[0][1], 2.4, 1.0E-12, "jauS2xpv", "p2"); - this.vvd(spv[0][2], -5.0, 1.0E-12, "jauS2xpv", "p3"); - this.vvd(spv[1][0], 1.5, 1.0E-12, "jauS2xpv", "v1"); - this.vvd(spv[1][1], 6.9, 1.0E-12, "jauS2xpv", "v2"); - this.vvd(spv[1][2], -1.2, 1.0E-12, "jauS2xpv", "v3"); - } - @Test() - public t_sepp() { + vvd(spv[0][0], 0.6, 1.0E-12, "jauS2xpv", "p1"); + vvd(spv[0][1], 2.4, 1.0E-12, "jauS2xpv", "p2"); + vvd(spv[0][2], -5.0, 1.0E-12, "jauS2xpv", "p3"); + vvd(spv[1][0], 1.5, 1.0E-12, "jauS2xpv", "v1"); + vvd(spv[1][1], 6.9, 1.0E-12, "jauS2xpv", "v2"); + vvd(spv[1][2], -1.2, 1.0E-12, "jauS2xpv", "v3"); + }); +test("t_sepp", () => { const a: number[] = [0, 0, 0]; const b: number[] = [0, 0, 0]; let s: number; @@ -2356,10 +2203,9 @@ export class TSOFATest { b[1] = 0.001; b[2] = 0.2; s = TSOFA.jauSepp(a, b); - this.vvd(s, 2.8603919190246607, 1.0E-12, "jauSepp", ""); - } - @Test() - public t_seps() { + vvd(s, 2.8603919190246607, 1.0E-12, "jauSepp", ""); + }); +test("t_seps", () => { let al: number; let ap: number; let bl: number; @@ -2370,14 +2216,12 @@ export class TSOFATest { bl = 0.2; bp = -3.0; s = TSOFA.jauSeps(al, ap, bl, bp); - this.vvd(s, 2.3467220169969987, 1.0E-14, "jauSeps", ""); - } - @Test() - public t_sp00() { - this.vvd(TSOFA.jauSp00(2400000.5, 52541.0), -6.216698469981019E-12, 1.0E-12, "jauSp00", ""); - } - @Test() - public t_starpm() { + vvd(s, 2.3467220169969987, 1.0E-14, "jauSeps", ""); + }); +test("t_sp00", () => { + vvd(TSOFA.jauSp00(2400000.5, 52541.0), -6.216698469981019E-12, 1.0E-12, "jauSp00", ""); + }); +test("t_starpm", () => { let ra1: number; let dec1: number; let pmr1: number; @@ -2392,18 +2236,17 @@ export class TSOFATest { rv1 = -21.6; try { const cat: TSOFA.CatalogCoords = TSOFA.jauStarpm(ra1, dec1, pmr1, pmd1, px1, rv1, 2400000.5, 50083.0, 2400000.5, 53736.0); - this.vvd(cat.pos.alpha, 0.016689190694142562, 1.0E-13, "jauStarpm", "ra"); - this.vvd(cat.pos.delta, -1.093966454217128, 1.0E-13, "jauStarpm", "dec"); - this.vvd(cat.pm.alpha, -1.7836626821531766E-5, 1.0E-17, "jauStarpm", "pmr"); - this.vvd(cat.pm.delta, 2.3380929159839896E-6, 1.0E-17, "jauStarpm", "pmd"); - this.vvd(cat.px, 0.7473533835317719, 1.0E-13, "jauStarpm", "px"); - this.vvd(cat.rv, -21.59905170476417, 1.0E-11, "jauStarpm", "rv"); - } catch(e) { + vvd(cat.pos.alpha, 0.016689190694142562, 1.0E-13, "jauStarpm", "ra"); + vvd(cat.pos.delta, -1.093966454217128, 1.0E-13, "jauStarpm", "dec"); + vvd(cat.pm.alpha, -1.7836626821531766E-5, 1.0E-17, "jauStarpm", "pmr"); + vvd(cat.pm.delta, 2.3380929159839896E-6, 1.0E-17, "jauStarpm", "pmd"); + vvd(cat.px, 0.7473533835317719, 1.0E-13, "jauStarpm", "px"); + vvd(cat.rv, -21.59905170476417, 1.0E-11, "jauStarpm", "rv"); + } catch(e:any) { console.error(e.message, e); } - } - @Test() - public t_starpv() { + }); +test("t_starpv", () => { let ra: number; let dec: number; let pmr: number; @@ -2418,16 +2261,15 @@ export class TSOFATest { px = 0.74723; rv = -21.6; const j: number = TSOFA.jauStarpv(ra, dec, pmr, pmd, px, rv, pv); - this.vvd(pv[0][0], 126668.59127431606, 1.0E-10, "jauStarpv", "11"); - this.vvd(pv[0][1], 2136.792716839935, 1.0E-12, "jauStarpv", "12"); - this.vvd(pv[0][2], -245251.23398768302, 1.0E-10, "jauStarpv", "13"); - this.vvd(pv[1][0], -0.00405185400895566, 1.0E-13, "jauStarpv", "21"); - this.vvd(pv[1][1], -0.006253919754414778, 1.0E-15, "jauStarpv", "22"); - this.vvd(pv[1][2], 0.011893537145881093, 1.0E-13, "jauStarpv", "23"); - this.viv(j, 0, "jauStarpv", "j"); - } - @Test() - public t_sxp() { + vvd(pv[0][0], 126668.59127431606, 1.0E-10, "jauStarpv", "11"); + vvd(pv[0][1], 2136.792716839935, 1.0E-12, "jauStarpv", "12"); + vvd(pv[0][2], -245251.23398768302, 1.0E-10, "jauStarpv", "13"); + vvd(pv[1][0], -0.00405185400895566, 1.0E-13, "jauStarpv", "21"); + vvd(pv[1][1], -0.006253919754414778, 1.0E-15, "jauStarpv", "22"); + vvd(pv[1][2], 0.011893537145881093, 1.0E-13, "jauStarpv", "23"); + viv(j, 0, "jauStarpv", "j"); + }); +test("t_sxp", () => { let s: number; const p: number[] = [0, 0, 0]; let sp: number[] = [0, 0, 0]; @@ -2436,12 +2278,11 @@ export class TSOFATest { p[1] = 1.2; p[2] = -2.5; sp = TSOFA.jauSxp(s, p); - this.vvd(sp[0], 0.6, 0.0, "jauSxp", "1"); - this.vvd(sp[1], 2.4, 0.0, "jauSxp", "2"); - this.vvd(sp[2], -5.0, 0.0, "jauSxp", "3"); - } - @Test() - public t_sxpv() { + vvd(sp[0], 0.6, 0.0, "jauSxp", "1"); + vvd(sp[1], 2.4, 0.0, "jauSxp", "2"); + vvd(sp[2], -5.0, 0.0, "jauSxp", "3"); + }); +test("t_sxpv", () => { let s: number; const pv: number[][] = TSOFA.CreateDimensionalArray([2, 3]); s = 2.0; @@ -2452,57 +2293,49 @@ export class TSOFATest { pv[1][1] = 3.2; pv[1][2] = -0.7; const spv = TSOFA.jauSxpv(s, pv); - this.vvd(spv[0][0], 0.6, 0.0, "jauSxpv", "p1"); - this.vvd(spv[0][1], 2.4, 0.0, "jauSxpv", "p2"); - this.vvd(spv[0][2], -5.0, 0.0, "jauSxpv", "p3"); - this.vvd(spv[1][0], 1.0, 0.0, "jauSxpv", "v1"); - this.vvd(spv[1][1], 6.4, 0.0, "jauSxpv", "v2"); - this.vvd(spv[1][2], -1.4, 0.0, "jauSxpv", "v3"); - } - @Test() - public t_taitt() { + vvd(spv[0][0], 0.6, 0.0, "jauSxpv", "p1"); + vvd(spv[0][1], 2.4, 0.0, "jauSxpv", "p2"); + vvd(spv[0][2], -5.0, 0.0, "jauSxpv", "p3"); + vvd(spv[1][0], 1.0, 0.0, "jauSxpv", "v1"); + vvd(spv[1][1], 6.4, 0.0, "jauSxpv", "v2"); + vvd(spv[1][2], -1.4, 0.0, "jauSxpv", "v3"); + }); +test("t_taitt", () => { const jd: TSOFA.JulianDate = TSOFA.jauTaitt(2453750.5, 0.892482639); - this.vvd(jd.djm0, 2453750.5, 1.0E-6, "jauTaitt", "t1"); - this.vvd(jd.djm1, 0.892855139, 1.0E-12, "jauTaitt", "t2"); - } - @Test() - public t_taiut1() { + vvd(jd.djm0, 2453750.5, 1.0E-6, "jauTaitt", "t1"); + vvd(jd.djm1, 0.892855139, 1.0E-12, "jauTaitt", "t2"); + }); +test("t_taiut1", () => { const jd: TSOFA.JulianDate = TSOFA.jauTaiut1(2453750.5, 0.892482639, -32.6659); - this.vvd(jd.djm0, 2453750.5, 1.0E-6, "jauTaiut1", "u1"); - this.vvd(jd.djm1, 0.8921045614537036, 1.0E-12, "jauTaiut1", "u2"); - } - @Test() - public t_taiutc() { + vvd(jd.djm0, 2453750.5, 1.0E-6, "jauTaiut1", "u1"); + vvd(jd.djm1, 0.8921045614537036, 1.0E-12, "jauTaiut1", "u2"); + }); +test("t_taiutc", () => { const jd: TSOFA.JulianDate = TSOFA.jauTaiutc(2453750.5, 0.892482639); - this.vvd(jd.djm0, 2453750.5, 1.0E-6, "jauTaiutc", "u1"); - this.vvd(jd.djm1, 0.8921006945555555, 1.0E-12, "jauTaiutc", "u2"); - } - @Test() - public t_tcbtdb() { + vvd(jd.djm0, 2453750.5, 1.0E-6, "jauTaiutc", "u1"); + vvd(jd.djm1, 0.8921006945555555, 1.0E-12, "jauTaiutc", "u2"); + }); +test("t_tcbtdb", () => { const jd: TSOFA.JulianDate = TSOFA.jauTcbtdb(2453750.5, 0.893019599); - this.vvd(jd.djm0, 2453750.5, 1.0E-6, "jauTcbtdb", "b1"); - this.vvd(jd.djm1, 0.8928551362746343, 1.0E-12, "jauTcbtdb", "b2"); - } - @Test() - public t_tcgtt() { + vvd(jd.djm0, 2453750.5, 1.0E-6, "jauTcbtdb", "b1"); + vvd(jd.djm1, 0.8928551362746343, 1.0E-12, "jauTcbtdb", "b2"); + }); +test("t_tcgtt", () => { const jd: TSOFA.JulianDate = TSOFA.jauTcgtt(2453750.5, 0.892862531); - this.vvd(jd.djm0, 2453750.5, 1.0E-6, "jauTcgtt", "t1"); - this.vvd(jd.djm1, 0.8928551387488817, 1.0E-12, "jauTcgtt", "t2"); - } - @Test() - public t_tdbtcb() { + vvd(jd.djm0, 2453750.5, 1.0E-6, "jauTcgtt", "t1"); + vvd(jd.djm1, 0.8928551387488817, 1.0E-12, "jauTcgtt", "t2"); + }); +test("t_tdbtcb", () => { const jd: TSOFA.JulianDate = TSOFA.jauTdbtcb(2453750.5, 0.892855137); - this.vvd(jd.djm0, 2453750.5, 1.0E-6, "jauTdbtcb", "b1"); - this.vvd(jd.djm1, 0.8930195997253657, 1.0E-12, "jauTdbtcb", "b2"); - } - @Test() - public t_tdbtt() { + vvd(jd.djm0, 2453750.5, 1.0E-6, "jauTdbtcb", "b1"); + vvd(jd.djm1, 0.8930195997253657, 1.0E-12, "jauTdbtcb", "b2"); + }); +test("t_tdbtt", () => { const jd: TSOFA.JulianDate = TSOFA.jauTdbtt(2453750.5, 0.892855137, -2.01E-4); - this.vvd(jd.djm0, 2453750.5, 1.0E-6, "jauTdbtt", "t1"); - this.vvd(jd.djm1, 0.8928551393263889, 1.0E-12, "jauTdbtt", "t2"); - } - @Test() - public t_tr() { + vvd(jd.djm0, 2453750.5, 1.0E-6, "jauTdbtt", "t1"); + vvd(jd.djm1, 0.8928551393263889, 1.0E-12, "jauTdbtt", "t2"); + }); +test("t_tr", () => { const r: number[][] = TSOFA.CreateDimensionalArray([3, 3]); r[0][0] = 2.0; r[0][1] = 3.0; @@ -2514,18 +2347,17 @@ export class TSOFATest { r[2][1] = 4.0; r[2][2] = 5.0; const rt = TSOFA.jauTr(r); - this.vvd(rt[0][0], 2.0, 0.0, "jauTr", "11"); - this.vvd(rt[0][1], 3.0, 0.0, "jauTr", "12"); - this.vvd(rt[0][2], 3.0, 0.0, "jauTr", "13"); - this.vvd(rt[1][0], 3.0, 0.0, "jauTr", "21"); - this.vvd(rt[1][1], 2.0, 0.0, "jauTr", "22"); - this.vvd(rt[1][2], 4.0, 0.0, "jauTr", "23"); - this.vvd(rt[2][0], 2.0, 0.0, "jauTr", "31"); - this.vvd(rt[2][1], 3.0, 0.0, "jauTr", "32"); - this.vvd(rt[2][2], 5.0, 0.0, "jauTr", "33"); - } - @Test() - public t_trxp() { + vvd(rt[0][0], 2.0, 0.0, "jauTr", "11"); + vvd(rt[0][1], 3.0, 0.0, "jauTr", "12"); + vvd(rt[0][2], 3.0, 0.0, "jauTr", "13"); + vvd(rt[1][0], 3.0, 0.0, "jauTr", "21"); + vvd(rt[1][1], 2.0, 0.0, "jauTr", "22"); + vvd(rt[1][2], 4.0, 0.0, "jauTr", "23"); + vvd(rt[2][0], 2.0, 0.0, "jauTr", "31"); + vvd(rt[2][1], 3.0, 0.0, "jauTr", "32"); + vvd(rt[2][2], 5.0, 0.0, "jauTr", "33"); + }); +test("t_trxp", () => { const r: number[][] = TSOFA.CreateDimensionalArray([3, 3]); const p: number[] = [0, 0, 0]; r[0][0] = 2.0; @@ -2541,12 +2373,11 @@ export class TSOFATest { p[1] = 1.5; p[2] = 0.1; const trp = TSOFA.jauTrxp(r, p); - this.vvd(trp[0], 5.2, 1.0E-12, "jauTrxp", "1"); - this.vvd(trp[1], 4.0, 1.0E-12, "jauTrxp", "2"); - this.vvd(trp[2], 5.4, 1.0E-12, "jauTrxp", "3"); - } - @Test() - public t_trxpv() { + vvd(trp[0], 5.2, 1.0E-12, "jauTrxp", "1"); + vvd(trp[1], 4.0, 1.0E-12, "jauTrxp", "2"); + vvd(trp[2], 5.4, 1.0E-12, "jauTrxp", "3"); + }); +test("t_trxpv", () => { const r: number[][] = TSOFA.CreateDimensionalArray([3, 3]); const pv: number[][] = TSOFA.CreateDimensionalArray([2, 3]); r[0][0] = 2.0; @@ -2565,107 +2396,92 @@ export class TSOFATest { pv[1][1] = 0.2; pv[1][2] = 0.1; const trpv = TSOFA.jauTrxpv(r, pv); - this.vvd(trpv[0][0], 5.2, 1.0E-12, "jauTrxpv", "p1"); - this.vvd(trpv[0][1], 4.0, 1.0E-12, "jauTrxpv", "p1"); - this.vvd(trpv[0][2], 5.4, 1.0E-12, "jauTrxpv", "p1"); - this.vvd(trpv[1][0], 3.9, 1.0E-12, "jauTrxpv", "v1"); - this.vvd(trpv[1][1], 5.3, 1.0E-12, "jauTrxpv", "v2"); - this.vvd(trpv[1][2], 4.1, 1.0E-12, "jauTrxpv", "v3"); - } - @Test() - public t_tttai() { + vvd(trpv[0][0], 5.2, 1.0E-12, "jauTrxpv", "p1"); + vvd(trpv[0][1], 4.0, 1.0E-12, "jauTrxpv", "p1"); + vvd(trpv[0][2], 5.4, 1.0E-12, "jauTrxpv", "p1"); + vvd(trpv[1][0], 3.9, 1.0E-12, "jauTrxpv", "v1"); + vvd(trpv[1][1], 5.3, 1.0E-12, "jauTrxpv", "v2"); + vvd(trpv[1][2], 4.1, 1.0E-12, "jauTrxpv", "v3"); + }); +test("t_tttai", () => { const jd: TSOFA.JulianDate = TSOFA.jauTttai(2453750.5, 0.892482639); - this.vvd(jd.djm0, 2453750.5, 1.0E-6, "jauTttai", "a1"); - this.vvd(jd.djm1, 0.892110139, 1.0E-12, "jauTttai", "a2"); - } - @Test() - public t_tttcg() { + vvd(jd.djm0, 2453750.5, 1.0E-6, "jauTttai", "a1"); + vvd(jd.djm1, 0.892110139, 1.0E-12, "jauTttai", "a2"); + }); +test("t_tttcg", () => { const jd: TSOFA.JulianDate = TSOFA.jauTttcg(2453750.5, 0.892482639); - this.vvd(jd.djm0, 2453750.5, 1.0E-6, "jauTttcg", "g1"); - this.vvd(jd.djm1, 0.8924900312508587, 1.0E-12, "jauTttcg", "g2"); - } - @Test() - public t_tttdb() { + vvd(jd.djm0, 2453750.5, 1.0E-6, "jauTttcg", "g1"); + vvd(jd.djm1, 0.8924900312508587, 1.0E-12, "jauTttcg", "g2"); + }); +test("t_tttdb", () => { const jd: TSOFA.JulianDate = TSOFA.jauTttdb(2453750.5, 0.892855139, -2.01E-4); - this.vvd(jd.djm0, 2453750.5, 1.0E-6, "jauTttdb", "b1"); - this.vvd(jd.djm1, 0.8928551366736112, 1.0E-12, "jauTttdb", "b2"); - } - @Test() - public t_ttut1() { + vvd(jd.djm0, 2453750.5, 1.0E-6, "jauTttdb", "b1"); + vvd(jd.djm1, 0.8928551366736112, 1.0E-12, "jauTttdb", "b2"); + }); +test("t_ttut1", () => { const jd: TSOFA.JulianDate = TSOFA.jauTtut1(2453750.5, 0.892855139, 64.8499); - this.vvd(jd.djm0, 2453750.5, 1.0E-6, "jauTtut1", "u1"); - this.vvd(jd.djm1, 0.8921045614537036, 1.0E-12, "jauTtut1", "u2"); - } - @Test() - public t_ut1tai() { + vvd(jd.djm0, 2453750.5, 1.0E-6, "jauTtut1", "u1"); + vvd(jd.djm1, 0.8921045614537036, 1.0E-12, "jauTtut1", "u2"); + }); +test("t_ut1tai", () => { const jd: TSOFA.JulianDate = TSOFA.jauUt1tai(2453750.5, 0.892104561, -32.6659); - this.vvd(jd.djm0, 2453750.5, 1.0E-6, "jauUt1tai", "a1"); - this.vvd(jd.djm1, 0.8924826385462963, 1.0E-12, "jauUt1tai", "a2"); - } - @Test() - public t_ut1tt() { + vvd(jd.djm0, 2453750.5, 1.0E-6, "jauUt1tai", "a1"); + vvd(jd.djm1, 0.8924826385462963, 1.0E-12, "jauUt1tai", "a2"); + }); +test("t_ut1tt", () => { const jd: TSOFA.JulianDate = TSOFA.jauUt1tt(2453750.5, 0.892104561, 64.8499); - this.vvd(jd.djm0, 2453750.5, 1.0E-6, "jauUt1tt", "t1"); - this.vvd(jd.djm1, 0.8928551385462963, 1.0E-12, "jauUt1tt", "t2"); - } - @Test() - public t_ut1utc() { + vvd(jd.djm0, 2453750.5, 1.0E-6, "jauUt1tt", "t1"); + vvd(jd.djm1, 0.8928551385462963, 1.0E-12, "jauUt1tt", "t2"); + }); +test("t_ut1utc", () => { const jd: TSOFA.JulianDate = TSOFA.jauUt1utc(2453750.5, 0.892104561, 0.3341); - this.vvd(jd.djm0, 2453750.5, 1.0E-6, "jauUt1utc", "u1"); - this.vvd(jd.djm1, 0.8921006941018519, 1.0E-12, "jauUt1utc", "u2"); - } - @Test() - public t_utctai() { + vvd(jd.djm0, 2453750.5, 1.0E-6, "jauUt1utc", "u1"); + vvd(jd.djm1, 0.8921006941018519, 1.0E-12, "jauUt1utc", "u2"); + }); +test("t_utctai", () => { const jd: TSOFA.JulianDate = TSOFA.jauUtctai(2453750.5, 0.892100694); - this.vvd(jd.djm0, 2453750.5, 1.0E-6, "jauUtctai", "u1"); - this.vvd(jd.djm1, 0.8924826384444444, 1.0E-12, "jauUtctai", "u2"); - } - @Test() - public t_utcut1() { + vvd(jd.djm0, 2453750.5, 1.0E-6, "jauUtctai", "u1"); + vvd(jd.djm1, 0.8924826384444444, 1.0E-12, "jauUtctai", "u2"); + }); +test("t_utcut1", () => { const jd: TSOFA.JulianDate = TSOFA.jauUtcut1(2453750.5, 0.892100694, 0.3341); - this.vvd(jd.djm0, 2453750.5, 1.0E-6, "jauUtcut1", "u1"); - this.vvd(jd.djm1, 0.8921045608981482, 1.0E-12, "jauUtcut1", "u2"); - } - @Test() - public t_xy06() { + vvd(jd.djm0, 2453750.5, 1.0E-6, "jauUtcut1", "u1"); + vvd(jd.djm1, 0.8921045608981482, 1.0E-12, "jauUtcut1", "u2"); + }); +test("t_xy06", () => { const cip: TSOFA.CelestialIntermediatePole = TSOFA.jauXy06(2400000.5, 53736.0); - this.vvd(cip.x, 5.791308486706011E-4, 1.0E-15, "jauXy06", "x"); - this.vvd(cip.y, 4.020579816732958E-5, 1.0E-16, "jauXy06", "y"); - } - @Test() - public t_xys00a() { + vvd(cip.x, 5.791308486706011E-4, 1.0E-15, "jauXy06", "x"); + vvd(cip.y, 4.020579816732958E-5, 1.0E-16, "jauXy06", "y"); + }); +test("t_xys00a", () => { const fr: TSOFA.ICRFrame = TSOFA.jauXys00a(2400000.5, 53736.0); - this.vvd(fr.cip.x, 5.791308472168153E-4, 1.0E-14, "jauXys00a", "x"); - this.vvd(fr.cip.y, 4.0205956615915E-5, 1.0E-15, "jauXys00a", "y"); - this.vvd(fr.s, -1.2200408484715497E-8, 1.0E-18, "jauXys00a", "s"); - } - @Test() - public t_xys00b() { + vvd(fr.cip.x, 5.791308472168153E-4, 1.0E-14, "jauXys00a", "x"); + vvd(fr.cip.y, 4.0205956615915E-5, 1.0E-15, "jauXys00a", "y"); + vvd(fr.s, -1.2200408484715497E-8, 1.0E-18, "jauXys00a", "s"); + }); +test("t_xys00b", () => { const fr: TSOFA.ICRFrame = TSOFA.jauXys00b(2400000.5, 53736.0); - this.vvd(fr.cip.x, 5.791301929950209E-4, 1.0E-14, "jauXys00b", "x"); - this.vvd(fr.cip.y, 4.0205536813737205E-5, 1.0E-15, "jauXys00b", "y"); - this.vvd(fr.s, -1.2200273772850832E-8, 1.0E-18, "jauXys00b", "s"); - } - @Test() - public t_xys06a() { + vvd(fr.cip.x, 5.791301929950209E-4, 1.0E-14, "jauXys00b", "x"); + vvd(fr.cip.y, 4.0205536813737205E-5, 1.0E-15, "jauXys00b", "y"); + vvd(fr.s, -1.2200273772850832E-8, 1.0E-18, "jauXys00b", "s"); + }); +test("t_xys06a", () => { const fr: TSOFA.ICRFrame = TSOFA.jauXys06a(2400000.5, 53736.0); - this.vvd(fr.cip.x, 5.791308482835292E-4, 1.0E-14, "jauXys06a", "x"); - this.vvd(fr.cip.y, 4.0205800994540205E-5, 1.0E-15, "jauXys06a", "y"); - this.vvd(fr.s, -1.22003229416458E-8, 1.0E-18, "jauXys06a", "s"); - } - @Test() - public t_zp() { + vvd(fr.cip.x, 5.791308482835292E-4, 1.0E-14, "jauXys06a", "x"); + vvd(fr.cip.y, 4.0205800994540205E-5, 1.0E-15, "jauXys06a", "y"); + vvd(fr.s, -1.22003229416458E-8, 1.0E-18, "jauXys06a", "s"); + }); +test("t_zp", () => { const p: number[] = [0, 0, 0]; p[0] = 0.3; p[1] = 1.2; p[2] = -2.5; TSOFA.jauZp(p); - this.vvd(p[0], 0.0, 0.0, "jauZp", "1"); - this.vvd(p[1], 0.0, 0.0, "jauZp", "2"); - this.vvd(p[2], 0.0, 0.0, "jauZp", "3"); - } - @Test() - public t_zpv() { + vvd(p[0], 0.0, 0.0, "jauZp", "1"); + vvd(p[1], 0.0, 0.0, "jauZp", "2"); + vvd(p[2], 0.0, 0.0, "jauZp", "3"); + }); +test("t_zpv", () => { const pv: number[][] = TSOFA.CreateDimensionalArray([2, 3]); pv[0][0] = 0.3; pv[0][1] = 1.2; @@ -2674,15 +2490,14 @@ export class TSOFATest { pv[1][1] = 3.1; pv[1][2] = 0.9; TSOFA.jauZpv(pv); - this.vvd(pv[0][0], 0.0, 0.0, "jauZpv", "p1"); - this.vvd(pv[0][1], 0.0, 0.0, "jauZpv", "p2"); - this.vvd(pv[0][2], 0.0, 0.0, "jauZpv", "p3"); - this.vvd(pv[1][0], 0.0, 0.0, "jauZpv", "v1"); - this.vvd(pv[1][1], 0.0, 0.0, "jauZpv", "v2"); - this.vvd(pv[1][2], 0.0, 0.0, "jauZpv", "v3"); - } - @Test() - public t_zr() { + vvd(pv[0][0], 0.0, 0.0, "jauZpv", "p1"); + vvd(pv[0][1], 0.0, 0.0, "jauZpv", "p2"); + vvd(pv[0][2], 0.0, 0.0, "jauZpv", "p3"); + vvd(pv[1][0], 0.0, 0.0, "jauZpv", "v1"); + vvd(pv[1][1], 0.0, 0.0, "jauZpv", "v2"); + vvd(pv[1][2], 0.0, 0.0, "jauZpv", "v3"); + }); +test("t_zr", () => { const r: number[][] = TSOFA.CreateDimensionalArray([3, 3]); r[0][0] = 2.0; r[1][0] = 3.0; @@ -2694,18 +2509,17 @@ export class TSOFATest { r[1][2] = 4.0; r[2][2] = 5.0; TSOFA.jauZr(r); - this.vvd(r[0][0], 0.0, 0.0, "jauZr", "00"); - this.vvd(r[1][0], 0.0, 0.0, "jauZr", "01"); - this.vvd(r[2][0], 0.0, 0.0, "jauZr", "02"); - this.vvd(r[0][1], 0.0, 0.0, "jauZr", "10"); - this.vvd(r[1][1], 0.0, 0.0, "jauZr", "11"); - this.vvd(r[2][1], 0.0, 0.0, "jauZr", "12"); - this.vvd(r[0][2], 0.0, 0.0, "jauZr", "20"); - this.vvd(r[1][2], 0.0, 0.0, "jauZr", "21"); - this.vvd(r[2][2], 0.0, 0.0, "jauZr", "22"); - } - @Test() - public t_apcg() { + vvd(r[0][0], 0.0, 0.0, "jauZr", "00"); + vvd(r[1][0], 0.0, 0.0, "jauZr", "01"); + vvd(r[2][0], 0.0, 0.0, "jauZr", "02"); + vvd(r[0][1], 0.0, 0.0, "jauZr", "10"); + vvd(r[1][1], 0.0, 0.0, "jauZr", "11"); + vvd(r[2][1], 0.0, 0.0, "jauZr", "12"); + vvd(r[0][2], 0.0, 0.0, "jauZr", "20"); + vvd(r[1][2], 0.0, 0.0, "jauZr", "21"); + vvd(r[2][2], 0.0, 0.0, "jauZr", "22"); + }); +test("t_apcg", () => { let date1: number; let date2: number; const ebpv: number[][] = TSOFA.CreateDimensionalArray([2, 3]); @@ -2723,30 +2537,29 @@ export class TSOFATest { ehp[1] = -0.415395237; ehp[2] = -0.180084014; TSOFA.jauApcg(date1, date2, ebpv, ehp, astrom); - this.vvd(astrom.pmt, 12.651337940273786, 1.0E-11, "jauApcg", "pmt"); - this.vvd(astrom.eb[0], 0.901310875, 1.0E-12, "jauApcg", "eb(1)"); - this.vvd(astrom.eb[1], -0.417402664, 1.0E-12, "jauApcg", "eb(2)"); - this.vvd(astrom.eb[2], -0.180982288, 1.0E-12, "jauApcg", "eb(3)"); - this.vvd(astrom.eh[0], 0.8940025429324143, 1.0E-12, "jauApcg", "eh(1)"); - this.vvd(astrom.eh[1], -0.41109302686798177, 1.0E-12, "jauApcg", "eh(2)"); - this.vvd(astrom.eh[2], -0.17821890048728703, 1.0E-12, "jauApcg", "eh(3)"); - this.vvd(astrom.em, 1.0104652958110132, 1.0E-12, "jauApcg", "em"); - this.vvd(astrom.v[0], 4.289638913597694E-5, 1.0E-16, "jauApcg", "v(1)"); - this.vvd(astrom.v[1], 8.11503405158132E-5, 1.0E-16, "jauApcg", "v(2)"); - this.vvd(astrom.v[2], 3.517555136380563E-5, 1.0E-16, "jauApcg", "v(3)"); - this.vvd(astrom.bm1, 0.9999999951686013, 1.0E-12, "jauApcg", "bm1"); - this.vvd(astrom.bpn[0][0], 1.0, 0.0, "jauApcg", "bpn(1,1)"); - this.vvd(astrom.bpn[1][0], 0.0, 0.0, "jauApcg", "bpn(2,1)"); - this.vvd(astrom.bpn[2][0], 0.0, 0.0, "jauApcg", "bpn(3,1)"); - this.vvd(astrom.bpn[0][1], 0.0, 0.0, "jauApcg", "bpn(1,2)"); - this.vvd(astrom.bpn[1][1], 1.0, 0.0, "jauApcg", "bpn(2,2)"); - this.vvd(astrom.bpn[2][1], 0.0, 0.0, "jauApcg", "bpn(3,2)"); - this.vvd(astrom.bpn[0][2], 0.0, 0.0, "jauApcg", "bpn(1,3)"); - this.vvd(astrom.bpn[1][2], 0.0, 0.0, "jauApcg", "bpn(2,3)"); - this.vvd(astrom.bpn[2][2], 1.0, 0.0, "jauApcg", "bpn(3,3)"); - } - @Test() - public t_ab() { + vvd(astrom.pmt, 12.651337940273786, 1.0E-11, "jauApcg", "pmt"); + vvd(astrom.eb[0], 0.901310875, 1.0E-12, "jauApcg", "eb(1)"); + vvd(astrom.eb[1], -0.417402664, 1.0E-12, "jauApcg", "eb(2)"); + vvd(astrom.eb[2], -0.180982288, 1.0E-12, "jauApcg", "eb(3)"); + vvd(astrom.eh[0], 0.8940025429324143, 1.0E-12, "jauApcg", "eh(1)"); + vvd(astrom.eh[1], -0.41109302686798177, 1.0E-12, "jauApcg", "eh(2)"); + vvd(astrom.eh[2], -0.17821890048728703, 1.0E-12, "jauApcg", "eh(3)"); + vvd(astrom.em, 1.0104652958110132, 1.0E-12, "jauApcg", "em"); + vvd(astrom.v[0], 4.289638913597694E-5, 1.0E-16, "jauApcg", "v(1)"); + vvd(astrom.v[1], 8.11503405158132E-5, 1.0E-16, "jauApcg", "v(2)"); + vvd(astrom.v[2], 3.517555136380563E-5, 1.0E-16, "jauApcg", "v(3)"); + vvd(astrom.bm1, 0.9999999951686013, 1.0E-12, "jauApcg", "bm1"); + vvd(astrom.bpn[0][0], 1.0, 0.0, "jauApcg", "bpn(1,1)"); + vvd(astrom.bpn[1][0], 0.0, 0.0, "jauApcg", "bpn(2,1)"); + vvd(astrom.bpn[2][0], 0.0, 0.0, "jauApcg", "bpn(3,1)"); + vvd(astrom.bpn[0][1], 0.0, 0.0, "jauApcg", "bpn(1,2)"); + vvd(astrom.bpn[1][1], 1.0, 0.0, "jauApcg", "bpn(2,2)"); + vvd(astrom.bpn[2][1], 0.0, 0.0, "jauApcg", "bpn(3,2)"); + vvd(astrom.bpn[0][2], 0.0, 0.0, "jauApcg", "bpn(1,3)"); + vvd(astrom.bpn[1][2], 0.0, 0.0, "jauApcg", "bpn(2,3)"); + vvd(astrom.bpn[2][2], 1.0, 0.0, "jauApcg", "bpn(3,3)"); + }); +test("t_ab", () => { const pnat: number[] = [0, 0, 0]; const v: number[] = [0, 0, 0]; let s: number; @@ -2761,42 +2574,40 @@ export class TSOFATest { s = 0.9998092139570879; bm1 = 0.9999999950620926; ppr = TSOFA.jauAb(pnat, v, s, bm1); - this.vvd(ppr[0], -0.7631631094219556, 1.0E-12, "jauAb", "1"); - this.vvd(ppr[1], -0.6087553082505591, 1.0E-12, "jauAb", "2"); - this.vvd(ppr[2], -0.21679262693684712, 1.0E-12, "jauAb", "3"); - } - @Test() - public t_apcg13() { + vvd(ppr[0], -0.7631631094219556, 1.0E-12, "jauAb", "1"); + vvd(ppr[1], -0.6087553082505591, 1.0E-12, "jauAb", "2"); + vvd(ppr[2], -0.21679262693684712, 1.0E-12, "jauAb", "3"); + }); +test("t_apcg13", () => { let date1: number; let date2: number; const astrom: TSOFA.Astrom = new TSOFA.Astrom(); date1 = 2456165.5; date2 = 0.401182685; TSOFA.jauApcg13(date1, date2, astrom); - this.vvd(astrom.pmt, 12.651337940273786, 1.0E-11, "jauApcg13", "pmt"); - this.vvd(astrom.eb[0], 0.9013108747340645, 1.0E-12, "jauApcg13", "eb(1)"); - this.vvd(astrom.eb[1], -0.417402664040612, 1.0E-12, "jauApcg13", "eb(2)"); - this.vvd(astrom.eb[2], -0.18098228778678177, 1.0E-12, "jauApcg13", "eb(3)"); - this.vvd(astrom.eh[0], 0.8940025429255499, 1.0E-12, "jauApcg13", "eh(1)"); - this.vvd(astrom.eh[1], -0.41109302683318966, 1.0E-12, "jauApcg13", "eh(2)"); - this.vvd(astrom.eh[2], -0.17821890060197498, 1.0E-12, "jauApcg13", "eh(3)"); - this.vvd(astrom.em, 1.0104652959646643, 1.0E-12, "jauApcg13", "em"); - this.vvd(astrom.v[0], 4.289638912941341E-5, 1.0E-16, "jauApcg13", "v(1)"); - this.vvd(astrom.v[1], 8.115034032405042E-5, 1.0E-16, "jauApcg13", "v(2)"); - this.vvd(astrom.v[2], 3.5175551355364706E-5, 1.0E-16, "jauApcg13", "v(3)"); - this.vvd(astrom.bm1, 0.9999999951686013, 1.0E-12, "jauApcg13", "bm1"); - this.vvd(astrom.bpn[0][0], 1.0, 0.0, "jauApcg13", "bpn(1,1)"); - this.vvd(astrom.bpn[1][0], 0.0, 0.0, "jauApcg13", "bpn(2,1)"); - this.vvd(astrom.bpn[2][0], 0.0, 0.0, "jauApcg13", "bpn(3,1)"); - this.vvd(astrom.bpn[0][1], 0.0, 0.0, "jauApcg13", "bpn(1,2)"); - this.vvd(astrom.bpn[1][1], 1.0, 0.0, "jauApcg13", "bpn(2,2)"); - this.vvd(astrom.bpn[2][1], 0.0, 0.0, "jauApcg13", "bpn(3,2)"); - this.vvd(astrom.bpn[0][2], 0.0, 0.0, "jauApcg13", "bpn(1,3)"); - this.vvd(astrom.bpn[1][2], 0.0, 0.0, "jauApcg13", "bpn(2,3)"); - this.vvd(astrom.bpn[2][2], 1.0, 0.0, "jauApcg13", "bpn(3,3)"); - } - @Test() - public t_apci() { + vvd(astrom.pmt, 12.651337940273786, 1.0E-11, "jauApcg13", "pmt"); + vvd(astrom.eb[0], 0.9013108747340645, 1.0E-12, "jauApcg13", "eb(1)"); + vvd(astrom.eb[1], -0.417402664040612, 1.0E-12, "jauApcg13", "eb(2)"); + vvd(astrom.eb[2], -0.18098228778678177, 1.0E-12, "jauApcg13", "eb(3)"); + vvd(astrom.eh[0], 0.8940025429255499, 1.0E-12, "jauApcg13", "eh(1)"); + vvd(astrom.eh[1], -0.41109302683318966, 1.0E-12, "jauApcg13", "eh(2)"); + vvd(astrom.eh[2], -0.17821890060197498, 1.0E-12, "jauApcg13", "eh(3)"); + vvd(astrom.em, 1.0104652959646643, 1.0E-12, "jauApcg13", "em"); + vvd(astrom.v[0], 4.289638912941341E-5, 1.0E-16, "jauApcg13", "v(1)"); + vvd(astrom.v[1], 8.115034032405042E-5, 1.0E-16, "jauApcg13", "v(2)"); + vvd(astrom.v[2], 3.5175551355364706E-5, 1.0E-16, "jauApcg13", "v(3)"); + vvd(astrom.bm1, 0.9999999951686013, 1.0E-12, "jauApcg13", "bm1"); + vvd(astrom.bpn[0][0], 1.0, 0.0, "jauApcg13", "bpn(1,1)"); + vvd(astrom.bpn[1][0], 0.0, 0.0, "jauApcg13", "bpn(2,1)"); + vvd(astrom.bpn[2][0], 0.0, 0.0, "jauApcg13", "bpn(3,1)"); + vvd(astrom.bpn[0][1], 0.0, 0.0, "jauApcg13", "bpn(1,2)"); + vvd(astrom.bpn[1][1], 1.0, 0.0, "jauApcg13", "bpn(2,2)"); + vvd(astrom.bpn[2][1], 0.0, 0.0, "jauApcg13", "bpn(3,2)"); + vvd(astrom.bpn[0][2], 0.0, 0.0, "jauApcg13", "bpn(1,3)"); + vvd(astrom.bpn[1][2], 0.0, 0.0, "jauApcg13", "bpn(2,3)"); + vvd(astrom.bpn[2][2], 1.0, 0.0, "jauApcg13", "bpn(3,3)"); + }); +test("t_apci", () => { let date1: number; let date2: number; const ebpv: number[][] = TSOFA.CreateDimensionalArray([2, 3]); @@ -2820,30 +2631,29 @@ export class TSOFATest { y = -2.92808623E-5; s = 3.05749468E-8; TSOFA.jauApci(date1, date2, ebpv, ehp, x, y, s, astrom); - this.vvd(astrom.pmt, 12.651337940273786, 1.0E-11, "jauApci", "pmt"); - this.vvd(astrom.eb[0], 0.901310875, 1.0E-12, "jauApci", "eb(1)"); - this.vvd(astrom.eb[1], -0.417402664, 1.0E-12, "jauApci", "eb(2)"); - this.vvd(astrom.eb[2], -0.180982288, 1.0E-12, "jauApci", "eb(3)"); - this.vvd(astrom.eh[0], 0.8940025429324143, 1.0E-12, "jauApci", "eh(1)"); - this.vvd(astrom.eh[1], -0.41109302686798177, 1.0E-12, "jauApci", "eh(2)"); - this.vvd(astrom.eh[2], -0.17821890048728703, 1.0E-12, "jauApci", "eh(3)"); - this.vvd(astrom.em, 1.0104652958110132, 1.0E-12, "jauApci", "em"); - this.vvd(astrom.v[0], 4.289638913597694E-5, 1.0E-16, "jauApci", "v(1)"); - this.vvd(astrom.v[1], 8.11503405158132E-5, 1.0E-16, "jauApci", "v(2)"); - this.vvd(astrom.v[2], 3.517555136380563E-5, 1.0E-16, "jauApci", "v(3)"); - this.vvd(astrom.bm1, 0.9999999951686013, 1.0E-12, "jauApci", "bm1"); - this.vvd(astrom.bpn[0][0], 0.9999991390295159, 1.0E-12, "jauApci", "bpn(1,1)"); - this.vvd(astrom.bpn[1][0], 4.978650072505017E-8, 1.0E-12, "jauApci", "bpn(2,1)"); - this.vvd(astrom.bpn[2][0], 0.0013122272, 1.0E-12, "jauApci", "bpn(3,1)"); - this.vvd(astrom.bpn[0][1], -1.1363366537716096E-8, 1.0E-12, "jauApci", "bpn(1,2)"); - this.vvd(astrom.bpn[1][1], 0.9999999995713155, 1.0E-12, "jauApci", "bpn(2,2)"); - this.vvd(astrom.bpn[2][1], -2.92808623E-5, 1.0E-12, "jauApci", "bpn(3,2)"); - this.vvd(astrom.bpn[0][2], -0.0013122272008952603, 1.0E-12, "jauApci", "bpn(1,3)"); - this.vvd(astrom.bpn[1][2], 2.928082217872316E-5, 1.0E-12, "jauApci", "bpn(2,3)"); - this.vvd(astrom.bpn[2][2], 0.9999991386008323, 1.0E-12, "jauApci", "bpn(3,3)"); - } - @Test() - public t_apci13() { + vvd(astrom.pmt, 12.651337940273786, 1.0E-11, "jauApci", "pmt"); + vvd(astrom.eb[0], 0.901310875, 1.0E-12, "jauApci", "eb(1)"); + vvd(astrom.eb[1], -0.417402664, 1.0E-12, "jauApci", "eb(2)"); + vvd(astrom.eb[2], -0.180982288, 1.0E-12, "jauApci", "eb(3)"); + vvd(astrom.eh[0], 0.8940025429324143, 1.0E-12, "jauApci", "eh(1)"); + vvd(astrom.eh[1], -0.41109302686798177, 1.0E-12, "jauApci", "eh(2)"); + vvd(astrom.eh[2], -0.17821890048728703, 1.0E-12, "jauApci", "eh(3)"); + vvd(astrom.em, 1.0104652958110132, 1.0E-12, "jauApci", "em"); + vvd(astrom.v[0], 4.289638913597694E-5, 1.0E-16, "jauApci", "v(1)"); + vvd(astrom.v[1], 8.11503405158132E-5, 1.0E-16, "jauApci", "v(2)"); + vvd(astrom.v[2], 3.517555136380563E-5, 1.0E-16, "jauApci", "v(3)"); + vvd(astrom.bm1, 0.9999999951686013, 1.0E-12, "jauApci", "bm1"); + vvd(astrom.bpn[0][0], 0.9999991390295159, 1.0E-12, "jauApci", "bpn(1,1)"); + vvd(astrom.bpn[1][0], 4.978650072505017E-8, 1.0E-12, "jauApci", "bpn(2,1)"); + vvd(astrom.bpn[2][0], 0.0013122272, 1.0E-12, "jauApci", "bpn(3,1)"); + vvd(astrom.bpn[0][1], -1.1363366537716096E-8, 1.0E-12, "jauApci", "bpn(1,2)"); + vvd(astrom.bpn[1][1], 0.9999999995713155, 1.0E-12, "jauApci", "bpn(2,2)"); + vvd(astrom.bpn[2][1], -2.92808623E-5, 1.0E-12, "jauApci", "bpn(3,2)"); + vvd(astrom.bpn[0][2], -0.0013122272008952603, 1.0E-12, "jauApci", "bpn(1,3)"); + vvd(astrom.bpn[1][2], 2.928082217872316E-5, 1.0E-12, "jauApci", "bpn(2,3)"); + vvd(astrom.bpn[2][2], 0.9999991386008323, 1.0E-12, "jauApci", "bpn(3,3)"); + }); +test("t_apci13", () => { let date1: number; let date2: number; let eo: number; @@ -2851,31 +2661,30 @@ export class TSOFATest { date1 = 2456165.5; date2 = 0.401182685; eo = TSOFA.jauApci13(date1, date2, astrom); - this.vvd(astrom.pmt, 12.651337940273786, 1.0E-11, "jauApci13", "pmt"); - this.vvd(astrom.eb[0], 0.9013108747340645, 1.0E-12, "jauApci13", "eb(1)"); - this.vvd(astrom.eb[1], -0.417402664040612, 1.0E-12, "jauApci13", "eb(2)"); - this.vvd(astrom.eb[2], -0.18098228778678177, 1.0E-12, "jauApci13", "eb(3)"); - this.vvd(astrom.eh[0], 0.8940025429255499, 1.0E-12, "jauApci13", "eh(1)"); - this.vvd(astrom.eh[1], -0.41109302683318966, 1.0E-12, "jauApci13", "eh(2)"); - this.vvd(astrom.eh[2], -0.17821890060197498, 1.0E-12, "jauApci13", "eh(3)"); - this.vvd(astrom.em, 1.0104652959646643, 1.0E-12, "jauApci13", "em"); - this.vvd(astrom.v[0], 4.289638912941341E-5, 1.0E-16, "jauApci13", "v(1)"); - this.vvd(astrom.v[1], 8.115034032405042E-5, 1.0E-16, "jauApci13", "v(2)"); - this.vvd(astrom.v[2], 3.5175551355364706E-5, 1.0E-16, "jauApci13", "v(3)"); - this.vvd(astrom.bm1, 0.9999999951686013, 1.0E-12, "jauApci13", "bm1"); - this.vvd(astrom.bpn[0][0], 0.9999992060376762, 1.0E-12, "jauApci13", "bpn(1,1)"); - this.vvd(astrom.bpn[1][0], 4.124244860106037E-8, 1.0E-12, "jauApci13", "bpn(2,1)"); - this.vvd(astrom.bpn[2][0], 0.0012601285710517097, 1.0E-12, "jauApci13", "bpn(3,1)"); - this.vvd(astrom.bpn[0][1], -1.2822919872221307E-8, 1.0E-12, "jauApci13", "bpn(1,2)"); - this.vvd(astrom.bpn[1][1], 0.9999999997456835, 1.0E-12, "jauApci13", "bpn(2,2)"); - this.vvd(astrom.bpn[2][1], -2.255288829420525E-5, 1.0E-12, "jauApci13", "bpn(3,2)"); - this.vvd(astrom.bpn[0][2], -0.0012601285716613746, 1.0E-12, "jauApci13", "bpn(1,3)"); - this.vvd(astrom.bpn[1][2], 2.2552854229533955E-5, 1.0E-12, "jauApci13", "bpn(2,3)"); - this.vvd(astrom.bpn[2][2], 0.9999992057833604, 1.0E-12, "jauApci13", "bpn(3,3)"); - this.vvd(eo, -0.0029006187126573756, 1.0E-12, "jauApci13", "eo"); - } - @Test() - public t_apco() { + vvd(astrom.pmt, 12.651337940273786, 1.0E-11, "jauApci13", "pmt"); + vvd(astrom.eb[0], 0.9013108747340645, 1.0E-12, "jauApci13", "eb(1)"); + vvd(astrom.eb[1], -0.417402664040612, 1.0E-12, "jauApci13", "eb(2)"); + vvd(astrom.eb[2], -0.18098228778678177, 1.0E-12, "jauApci13", "eb(3)"); + vvd(astrom.eh[0], 0.8940025429255499, 1.0E-12, "jauApci13", "eh(1)"); + vvd(astrom.eh[1], -0.41109302683318966, 1.0E-12, "jauApci13", "eh(2)"); + vvd(astrom.eh[2], -0.17821890060197498, 1.0E-12, "jauApci13", "eh(3)"); + vvd(astrom.em, 1.0104652959646643, 1.0E-12, "jauApci13", "em"); + vvd(astrom.v[0], 4.289638912941341E-5, 1.0E-16, "jauApci13", "v(1)"); + vvd(astrom.v[1], 8.115034032405042E-5, 1.0E-16, "jauApci13", "v(2)"); + vvd(astrom.v[2], 3.5175551355364706E-5, 1.0E-16, "jauApci13", "v(3)"); + vvd(astrom.bm1, 0.9999999951686013, 1.0E-12, "jauApci13", "bm1"); + vvd(astrom.bpn[0][0], 0.9999992060376762, 1.0E-12, "jauApci13", "bpn(1,1)"); + vvd(astrom.bpn[1][0], 4.124244860106037E-8, 1.0E-12, "jauApci13", "bpn(2,1)"); + vvd(astrom.bpn[2][0], 0.0012601285710517097, 1.0E-12, "jauApci13", "bpn(3,1)"); + vvd(astrom.bpn[0][1], -1.2822919872221307E-8, 1.0E-12, "jauApci13", "bpn(1,2)"); + vvd(astrom.bpn[1][1], 0.9999999997456835, 1.0E-12, "jauApci13", "bpn(2,2)"); + vvd(astrom.bpn[2][1], -2.255288829420525E-5, 1.0E-12, "jauApci13", "bpn(3,2)"); + vvd(astrom.bpn[0][2], -0.0012601285716613746, 1.0E-12, "jauApci13", "bpn(1,3)"); + vvd(astrom.bpn[1][2], 2.2552854229533955E-5, 1.0E-12, "jauApci13", "bpn(2,3)"); + vvd(astrom.bpn[2][2], 0.9999992057833604, 1.0E-12, "jauApci13", "bpn(3,3)"); + vvd(eo, -0.0029006187126573756, 1.0E-12, "jauApci13", "eo"); + }); +test("t_apco", () => { let date1: number; let date2: number; const ebpv: number[][] = TSOFA.CreateDimensionalArray([2, 3]); @@ -2917,39 +2726,38 @@ export class TSOFATest { refa = 2.01418779E-4; refb = -2.36140831E-7; TSOFA.jauApco(date1, date2, ebpv, ehp, x, y, s, theta, elong, phi, hm, xp, yp, sp, refa, refb, astrom); - this.vvd(astrom.pmt, 13.252484686225873, 1.0E-11, "jauApco", "pmt"); - this.vvd(astrom.eb[0], -0.9741827110630322, 1.0E-12, "jauApco", "eb(1)"); - this.vvd(astrom.eb[1], -0.21151301901353448, 1.0E-12, "jauApco", "eb(2)"); - this.vvd(astrom.eb[2], -0.09179840186949532, 1.0E-12, "jauApco", "eb(3)"); - this.vvd(astrom.eh[0], -0.9736425571689739, 1.0E-12, "jauApco", "eh(1)"); - this.vvd(astrom.eh[1], -0.2092452125849331, 1.0E-12, "jauApco", "eh(2)"); - this.vvd(astrom.eh[2], -0.09075578152243273, 1.0E-12, "jauApco", "eh(3)"); - this.vvd(astrom.em, 0.9998233241709957, 1.0E-12, "jauApco", "em"); - this.vvd(astrom.v[0], 2.0787049929167286E-5, 1.0E-16, "jauApco", "v(1)"); - this.vvd(astrom.v[1], -8.955360107151952E-5, 1.0E-16, "jauApco", "v(2)"); - this.vvd(astrom.v[2], -3.863338994288951E-5, 1.0E-16, "jauApco", "v(3)"); - this.vvd(astrom.bm1, 0.9999999950277562, 1.0E-12, "jauApco", "bm1"); - this.vvd(astrom.bpn[0][0], 0.9999991390295159, 1.0E-12, "jauApco", "bpn(1,1)"); - this.vvd(astrom.bpn[1][0], 4.978650072505017E-8, 1.0E-12, "jauApco", "bpn(2,1)"); - this.vvd(astrom.bpn[2][0], 0.0013122272, 1.0E-12, "jauApco", "bpn(3,1)"); - this.vvd(astrom.bpn[0][1], -1.1363366537716096E-8, 1.0E-12, "jauApco", "bpn(1,2)"); - this.vvd(astrom.bpn[1][1], 0.9999999995713155, 1.0E-12, "jauApco", "bpn(2,2)"); - this.vvd(astrom.bpn[2][1], -2.92808623E-5, 1.0E-12, "jauApco", "bpn(3,2)"); - this.vvd(astrom.bpn[0][2], -0.0013122272008952603, 1.0E-12, "jauApco", "bpn(1,3)"); - this.vvd(astrom.bpn[1][2], 2.928082217872316E-5, 1.0E-12, "jauApco", "bpn(2,3)"); - this.vvd(astrom.bpn[2][2], 0.9999991386008323, 1.0E-12, "jauApco", "bpn(3,3)"); - this.vvd(astrom.along, -0.5278008060295996, 1.0E-12, "jauApco", "along"); - this.vvd(astrom.xpl, 1.133427418130753E-6, 1.0E-17, "jauApco", "xpl"); - this.vvd(astrom.ypl, 1.4533475957806462E-6, 1.0E-17, "jauApco", "ypl"); - this.vvd(astrom.sphi, -0.9440115679003211, 1.0E-12, "jauApco", "sphi"); - this.vvd(astrom.cphi, 0.3299123514971475, 1.0E-12, "jauApco", "cphi"); - this.vvd(astrom.diurab, 0, 0, "jauApco", "diurab"); - this.vvd(astrom.eral, 2.6176089039704005, 1.0E-12, "jauApco", "eral"); - this.vvd(astrom.refa, 2.01418779E-4, 1.0E-15, "jauApco", "refa"); - this.vvd(astrom.refb, -2.36140831E-7, 1.0E-18, "jauApco", "refb"); - } - @Test() - public t_apco13() { + vvd(astrom.pmt, 13.252484686225873, 1.0E-11, "jauApco", "pmt"); + vvd(astrom.eb[0], -0.9741827110630322, 1.0E-12, "jauApco", "eb(1)"); + vvd(astrom.eb[1], -0.21151301901353448, 1.0E-12, "jauApco", "eb(2)"); + vvd(astrom.eb[2], -0.09179840186949532, 1.0E-12, "jauApco", "eb(3)"); + vvd(astrom.eh[0], -0.9736425571689739, 1.0E-12, "jauApco", "eh(1)"); + vvd(astrom.eh[1], -0.2092452125849331, 1.0E-12, "jauApco", "eh(2)"); + vvd(astrom.eh[2], -0.09075578152243273, 1.0E-12, "jauApco", "eh(3)"); + vvd(astrom.em, 0.9998233241709957, 1.0E-12, "jauApco", "em"); + vvd(astrom.v[0], 2.0787049929167286E-5, 1.0E-16, "jauApco", "v(1)"); + vvd(astrom.v[1], -8.955360107151952E-5, 1.0E-16, "jauApco", "v(2)"); + vvd(astrom.v[2], -3.863338994288951E-5, 1.0E-16, "jauApco", "v(3)"); + vvd(astrom.bm1, 0.9999999950277562, 1.0E-12, "jauApco", "bm1"); + vvd(astrom.bpn[0][0], 0.9999991390295159, 1.0E-12, "jauApco", "bpn(1,1)"); + vvd(astrom.bpn[1][0], 4.978650072505017E-8, 1.0E-12, "jauApco", "bpn(2,1)"); + vvd(astrom.bpn[2][0], 0.0013122272, 1.0E-12, "jauApco", "bpn(3,1)"); + vvd(astrom.bpn[0][1], -1.1363366537716096E-8, 1.0E-12, "jauApco", "bpn(1,2)"); + vvd(astrom.bpn[1][1], 0.9999999995713155, 1.0E-12, "jauApco", "bpn(2,2)"); + vvd(astrom.bpn[2][1], -2.92808623E-5, 1.0E-12, "jauApco", "bpn(3,2)"); + vvd(astrom.bpn[0][2], -0.0013122272008952603, 1.0E-12, "jauApco", "bpn(1,3)"); + vvd(astrom.bpn[1][2], 2.928082217872316E-5, 1.0E-12, "jauApco", "bpn(2,3)"); + vvd(astrom.bpn[2][2], 0.9999991386008323, 1.0E-12, "jauApco", "bpn(3,3)"); + vvd(astrom.along, -0.5278008060295996, 1.0E-12, "jauApco", "along"); + vvd(astrom.xpl, 1.133427418130753E-6, 1.0E-17, "jauApco", "xpl"); + vvd(astrom.ypl, 1.4533475957806462E-6, 1.0E-17, "jauApco", "ypl"); + vvd(astrom.sphi, -0.9440115679003211, 1.0E-12, "jauApco", "sphi"); + vvd(astrom.cphi, 0.3299123514971475, 1.0E-12, "jauApco", "cphi"); + vvd(astrom.diurab, 0, 0, "jauApco", "diurab"); + vvd(astrom.eral, 2.6176089039704005, 1.0E-12, "jauApco", "eral"); + vvd(astrom.refa, 2.01418779E-4, 1.0E-15, "jauApco", "refa"); + vvd(astrom.refb, -2.36140831E-7, 1.0E-18, "jauApco", "refb"); + }); +test("t_apco13", () => { let utc1: number; let utc2: number; let dut1: number; @@ -2977,40 +2785,39 @@ export class TSOFATest { rh = 0.59; wl = 0.55; eo = TSOFA.jauApco13(utc1, utc2, dut1, elong, phi, hm, xp, yp, phpa, tc, rh, wl, astrom); - this.vvd(astrom.pmt, 13.252484686224758, 1.0E-11, "jauApco13", "pmt"); - this.vvd(astrom.eb[0], -0.9741827107320875, 1.0E-12, "jauApco13", "eb(1)"); - this.vvd(astrom.eb[1], -0.21151301904897166, 1.0E-12, "jauApco13", "eb(2)"); - this.vvd(astrom.eb[2], -0.09179840189496756, 1.0E-12, "jauApco13", "eb(3)"); - this.vvd(astrom.eh[0], -0.9736425572586935, 1.0E-12, "jauApco13", "eh(1)"); - this.vvd(astrom.eh[1], -0.20924521216033362, 1.0E-12, "jauApco13", "eh(2)"); - this.vvd(astrom.eh[2], -0.09075578153885665, 1.0E-12, "jauApco13", "eh(3)"); - this.vvd(astrom.em, 0.9998233240913899, 1.0E-12, "jauApco13", "em"); - this.vvd(astrom.v[0], 2.0787049945204893E-5, 1.0E-16, "jauApco13", "v(1)"); - this.vvd(astrom.v[1], -8.955360133238868E-5, 1.0E-16, "jauApco13", "v(2)"); - this.vvd(astrom.v[2], -3.863338993055887E-5, 1.0E-16, "jauApco13", "v(3)"); - this.vvd(astrom.bm1, 0.999999995027756, 1.0E-12, "jauApco13", "bm1"); - this.vvd(astrom.bpn[0][0], 0.9999991390295148, 1.0E-12, "jauApco13", "bpn(1,1)"); - this.vvd(astrom.bpn[1][0], 4.9786500753155294E-8, 1.0E-12, "jauApco13", "bpn(2,1)"); - this.vvd(astrom.bpn[2][0], 0.0013122272008502934, 1.0E-12, "jauApco13", "bpn(3,1)"); - this.vvd(astrom.bpn[0][1], -1.1363366528124865E-8, 1.0E-12, "jauApco13", "bpn(1,2)"); - this.vvd(astrom.bpn[1][1], 0.9999999995713155, 1.0E-12, "jauApco13", "bpn(2,2)"); - this.vvd(astrom.bpn[2][1], -2.9280862309753673E-5, 1.0E-12, "jauApco13", "bpn(3,2)"); - this.vvd(astrom.bpn[0][2], -0.0013122272017455537, 1.0E-12, "jauApco13", "bpn(1,3)"); - this.vvd(astrom.bpn[1][2], 2.928082218847679E-5, 1.0E-12, "jauApco13", "bpn(2,3)"); - this.vvd(astrom.bpn[2][2], 0.9999991386008312, 1.0E-12, "jauApco13", "bpn(3,3)"); - this.vvd(astrom.along, -0.5278008060295996, 1.0E-12, "jauApco13", "along"); - this.vvd(astrom.xpl, 1.133427418130753E-6, 1.0E-17, "jauApco13", "xpl"); - this.vvd(astrom.ypl, 1.4533475957806462E-6, 1.0E-17, "jauApco13", "ypl"); - this.vvd(astrom.sphi, -0.9440115679003211, 1.0E-12, "jauApco13", "sphi"); - this.vvd(astrom.cphi, 0.3299123514971475, 1.0E-12, "jauApco13", "cphi"); - this.vvd(astrom.diurab, 0, 0, "jauApco13", "diurab"); - this.vvd(astrom.eral, 2.617608909189664, 1.0E-12, "jauApco13", "eral"); - this.vvd(astrom.refa, 2.014187785940397E-4, 1.0E-15, "jauApco13", "refa"); - this.vvd(astrom.refb, -2.3614083149436963E-7, 1.0E-18, "jauApco13", "refb"); - this.vvd(eo, -0.0030205483548024128, 1.0E-14, "jauApco13", "eo"); - } - @Test() - public t_apcs() { + vvd(astrom.pmt, 13.252484686224758, 1.0E-11, "jauApco13", "pmt"); + vvd(astrom.eb[0], -0.9741827107320875, 1.0E-12, "jauApco13", "eb(1)"); + vvd(astrom.eb[1], -0.21151301904897166, 1.0E-12, "jauApco13", "eb(2)"); + vvd(astrom.eb[2], -0.09179840189496756, 1.0E-12, "jauApco13", "eb(3)"); + vvd(astrom.eh[0], -0.9736425572586935, 1.0E-12, "jauApco13", "eh(1)"); + vvd(astrom.eh[1], -0.20924521216033362, 1.0E-12, "jauApco13", "eh(2)"); + vvd(astrom.eh[2], -0.09075578153885665, 1.0E-12, "jauApco13", "eh(3)"); + vvd(astrom.em, 0.9998233240913899, 1.0E-12, "jauApco13", "em"); + vvd(astrom.v[0], 2.0787049945204893E-5, 1.0E-16, "jauApco13", "v(1)"); + vvd(astrom.v[1], -8.955360133238868E-5, 1.0E-16, "jauApco13", "v(2)"); + vvd(astrom.v[2], -3.863338993055887E-5, 1.0E-16, "jauApco13", "v(3)"); + vvd(astrom.bm1, 0.999999995027756, 1.0E-12, "jauApco13", "bm1"); + vvd(astrom.bpn[0][0], 0.9999991390295148, 1.0E-12, "jauApco13", "bpn(1,1)"); + vvd(astrom.bpn[1][0], 4.9786500753155294E-8, 1.0E-12, "jauApco13", "bpn(2,1)"); + vvd(astrom.bpn[2][0], 0.0013122272008502934, 1.0E-12, "jauApco13", "bpn(3,1)"); + vvd(astrom.bpn[0][1], -1.1363366528124865E-8, 1.0E-12, "jauApco13", "bpn(1,2)"); + vvd(astrom.bpn[1][1], 0.9999999995713155, 1.0E-12, "jauApco13", "bpn(2,2)"); + vvd(astrom.bpn[2][1], -2.9280862309753673E-5, 1.0E-12, "jauApco13", "bpn(3,2)"); + vvd(astrom.bpn[0][2], -0.0013122272017455537, 1.0E-12, "jauApco13", "bpn(1,3)"); + vvd(astrom.bpn[1][2], 2.928082218847679E-5, 1.0E-12, "jauApco13", "bpn(2,3)"); + vvd(astrom.bpn[2][2], 0.9999991386008312, 1.0E-12, "jauApco13", "bpn(3,3)"); + vvd(astrom.along, -0.5278008060295996, 1.0E-12, "jauApco13", "along"); + vvd(astrom.xpl, 1.133427418130753E-6, 1.0E-17, "jauApco13", "xpl"); + vvd(astrom.ypl, 1.4533475957806462E-6, 1.0E-17, "jauApco13", "ypl"); + vvd(astrom.sphi, -0.9440115679003211, 1.0E-12, "jauApco13", "sphi"); + vvd(astrom.cphi, 0.3299123514971475, 1.0E-12, "jauApco13", "cphi"); + vvd(astrom.diurab, 0, 0, "jauApco13", "diurab"); + vvd(astrom.eral, 2.617608909189664, 1.0E-12, "jauApco13", "eral"); + vvd(astrom.refa, 2.014187785940397E-4, 1.0E-15, "jauApco13", "refa"); + vvd(astrom.refb, -2.3614083149436963E-7, 1.0E-18, "jauApco13", "refb"); + vvd(eo, -0.0030205483548024128, 1.0E-14, "jauApco13", "eo"); + }); +test("t_apcs", () => { let date1: number; let date2: number; const pv: number[][] = TSOFA.CreateDimensionalArray([2, 3]); @@ -3035,30 +2842,29 @@ export class TSOFATest { ehp[1] = -0.209215307; ehp[2] = -0.0906996477; TSOFA.jauApcs(date1, date2, pv, ebpv, ehp, astrom); - this.vvd(astrom.pmt, 13.252484686225873, 1.0E-11, "jauApcs", "pmt"); - this.vvd(astrom.eb[0], -0.9741827110629881, 1.0E-12, "jauApcs", "eb(1)"); - this.vvd(astrom.eb[1], -0.2115130190136416, 1.0E-12, "jauApcs", "eb(2)"); - this.vvd(astrom.eb[2], -0.09179840186954412, 1.0E-12, "jauApcs", "eb(3)"); - this.vvd(astrom.eh[0], -0.9736425571689454, 1.0E-12, "jauApcs", "eh(1)"); - this.vvd(astrom.eh[1], -0.20924521258504358, 1.0E-12, "jauApcs", "eh(2)"); - this.vvd(astrom.eh[2], -0.090755781522483, 1.0E-12, "jauApcs", "eh(3)"); - this.vvd(astrom.em, 0.9998233241709796, 1.0E-12, "jauApcs", "em"); - this.vvd(astrom.v[0], 2.0787049932826855E-5, 1.0E-16, "jauApcs", "v(1)"); - this.vvd(astrom.v[1], -8.955360106989405E-5, 1.0E-16, "jauApcs", "v(2)"); - this.vvd(astrom.v[2], -3.863338994289409E-5, 1.0E-16, "jauApcs", "v(3)"); - this.vvd(astrom.bm1, 0.9999999950277562, 1.0E-12, "jauApcs", "bm1"); - this.vvd(astrom.bpn[0][0], 1, 0, "jauApcs", "bpn(1,1)"); - this.vvd(astrom.bpn[1][0], 0, 0, "jauApcs", "bpn(2,1)"); - this.vvd(astrom.bpn[2][0], 0, 0, "jauApcs", "bpn(3,1)"); - this.vvd(astrom.bpn[0][1], 0, 0, "jauApcs", "bpn(1,2)"); - this.vvd(astrom.bpn[1][1], 1, 0, "jauApcs", "bpn(2,2)"); - this.vvd(astrom.bpn[2][1], 0, 0, "jauApcs", "bpn(3,2)"); - this.vvd(astrom.bpn[0][2], 0, 0, "jauApcs", "bpn(1,3)"); - this.vvd(astrom.bpn[1][2], 0, 0, "jauApcs", "bpn(2,3)"); - this.vvd(astrom.bpn[2][2], 1, 0, "jauApcs", "bpn(3,3)"); - } - @Test() - public t_apcs13() { + vvd(astrom.pmt, 13.252484686225873, 1.0E-11, "jauApcs", "pmt"); + vvd(astrom.eb[0], -0.9741827110629881, 1.0E-12, "jauApcs", "eb(1)"); + vvd(astrom.eb[1], -0.2115130190136416, 1.0E-12, "jauApcs", "eb(2)"); + vvd(astrom.eb[2], -0.09179840186954412, 1.0E-12, "jauApcs", "eb(3)"); + vvd(astrom.eh[0], -0.9736425571689454, 1.0E-12, "jauApcs", "eh(1)"); + vvd(astrom.eh[1], -0.20924521258504358, 1.0E-12, "jauApcs", "eh(2)"); + vvd(astrom.eh[2], -0.090755781522483, 1.0E-12, "jauApcs", "eh(3)"); + vvd(astrom.em, 0.9998233241709796, 1.0E-12, "jauApcs", "em"); + vvd(astrom.v[0], 2.0787049932826855E-5, 1.0E-16, "jauApcs", "v(1)"); + vvd(astrom.v[1], -8.955360106989405E-5, 1.0E-16, "jauApcs", "v(2)"); + vvd(astrom.v[2], -3.863338994289409E-5, 1.0E-16, "jauApcs", "v(3)"); + vvd(astrom.bm1, 0.9999999950277562, 1.0E-12, "jauApcs", "bm1"); + vvd(astrom.bpn[0][0], 1, 0, "jauApcs", "bpn(1,1)"); + vvd(astrom.bpn[1][0], 0, 0, "jauApcs", "bpn(2,1)"); + vvd(astrom.bpn[2][0], 0, 0, "jauApcs", "bpn(3,1)"); + vvd(astrom.bpn[0][1], 0, 0, "jauApcs", "bpn(1,2)"); + vvd(astrom.bpn[1][1], 1, 0, "jauApcs", "bpn(2,2)"); + vvd(astrom.bpn[2][1], 0, 0, "jauApcs", "bpn(3,2)"); + vvd(astrom.bpn[0][2], 0, 0, "jauApcs", "bpn(1,3)"); + vvd(astrom.bpn[1][2], 0, 0, "jauApcs", "bpn(2,3)"); + vvd(astrom.bpn[2][2], 1, 0, "jauApcs", "bpn(3,3)"); + }); +test("t_apcs13", () => { let date1: number; let date2: number; const pv: number[][] = TSOFA.CreateDimensionalArray([2, 3]); @@ -3072,39 +2878,37 @@ export class TSOFATest { pv[1][1] = -455.021831; pv[1][2] = 0.0266151194; TSOFA.jauApcs13(date1, date2, pv, astrom); - this.vvd(astrom.pmt, 12.651337940273786, 1.0E-11, "jauApcs13", "pmt"); - this.vvd(astrom.eb[0], 0.9012691529025251, 1.0E-12, "jauApcs13", "eb(1)"); - this.vvd(astrom.eb[1], -0.4173999812023194, 1.0E-12, "jauApcs13", "eb(2)"); - this.vvd(astrom.eb[2], -0.18099065111464296, 1.0E-12, "jauApcs13", "eb(3)"); - this.vvd(astrom.eh[0], 0.893993910176013, 1.0E-12, "jauApcs13", "eh(1)"); - this.vvd(astrom.eh[1], -0.41110538917340217, 1.0E-12, "jauApcs13", "eh(2)"); - this.vvd(astrom.eh[2], -0.17823368806369974, 1.0E-12, "jauApcs13", "eh(3)"); - this.vvd(astrom.em, 1.0104283843734911, 1.0E-12, "jauApcs13", "em"); - this.vvd(astrom.v[0], 4.279877294121698E-5, 1.0E-16, "jauApcs13", "v(1)"); - this.vvd(astrom.v[1], 7.963255087052121E-5, 1.0E-16, "jauApcs13", "v(2)"); - this.vvd(astrom.v[2], 3.517564013384692E-5, 1.0E-16, "jauApcs13", "v(3)"); - this.vvd(astrom.bm1, 0.9999999952947981, 1.0E-12, "jauApcs13", "bm1"); - this.vvd(astrom.bpn[0][0], 1, 0, "jauApcs13", "bpn(1,1)"); - this.vvd(astrom.bpn[1][0], 0, 0, "jauApcs13", "bpn(2,1)"); - this.vvd(astrom.bpn[2][0], 0, 0, "jauApcs13", "bpn(3,1)"); - this.vvd(astrom.bpn[0][1], 0, 0, "jauApcs13", "bpn(1,2)"); - this.vvd(astrom.bpn[1][1], 1, 0, "jauApcs13", "bpn(2,2)"); - this.vvd(astrom.bpn[2][1], 0, 0, "jauApcs13", "bpn(3,2)"); - this.vvd(astrom.bpn[0][2], 0, 0, "jauApcs13", "bpn(1,3)"); - this.vvd(astrom.bpn[1][2], 0, 0, "jauApcs13", "bpn(2,3)"); - this.vvd(astrom.bpn[2][2], 1, 0, "jauApcs13", "bpn(3,3)"); - } - @Test() - public t_aper() { + vvd(astrom.pmt, 12.651337940273786, 1.0E-11, "jauApcs13", "pmt"); + vvd(astrom.eb[0], 0.9012691529025251, 1.0E-12, "jauApcs13", "eb(1)"); + vvd(astrom.eb[1], -0.4173999812023194, 1.0E-12, "jauApcs13", "eb(2)"); + vvd(astrom.eb[2], -0.18099065111464296, 1.0E-12, "jauApcs13", "eb(3)"); + vvd(astrom.eh[0], 0.893993910176013, 1.0E-12, "jauApcs13", "eh(1)"); + vvd(astrom.eh[1], -0.41110538917340217, 1.0E-12, "jauApcs13", "eh(2)"); + vvd(astrom.eh[2], -0.17823368806369974, 1.0E-12, "jauApcs13", "eh(3)"); + vvd(astrom.em, 1.0104283843734911, 1.0E-12, "jauApcs13", "em"); + vvd(astrom.v[0], 4.279877294121698E-5, 1.0E-16, "jauApcs13", "v(1)"); + vvd(astrom.v[1], 7.963255087052121E-5, 1.0E-16, "jauApcs13", "v(2)"); + vvd(astrom.v[2], 3.517564013384692E-5, 1.0E-16, "jauApcs13", "v(3)"); + vvd(astrom.bm1, 0.9999999952947981, 1.0E-12, "jauApcs13", "bm1"); + vvd(astrom.bpn[0][0], 1, 0, "jauApcs13", "bpn(1,1)"); + vvd(astrom.bpn[1][0], 0, 0, "jauApcs13", "bpn(2,1)"); + vvd(astrom.bpn[2][0], 0, 0, "jauApcs13", "bpn(3,1)"); + vvd(astrom.bpn[0][1], 0, 0, "jauApcs13", "bpn(1,2)"); + vvd(astrom.bpn[1][1], 1, 0, "jauApcs13", "bpn(2,2)"); + vvd(astrom.bpn[2][1], 0, 0, "jauApcs13", "bpn(3,2)"); + vvd(astrom.bpn[0][2], 0, 0, "jauApcs13", "bpn(1,3)"); + vvd(astrom.bpn[1][2], 0, 0, "jauApcs13", "bpn(2,3)"); + vvd(astrom.bpn[2][2], 1, 0, "jauApcs13", "bpn(3,3)"); + }); +test("t_aper", () => { let theta: number; const astrom: TSOFA.Astrom = new TSOFA.Astrom(); astrom.along = 1.234; theta = 5.678; TSOFA.jauAper(theta, astrom); - this.vvd(astrom.eral, 6.912, 1.0E-12, "jauAper", "pmt"); - } - @Test() - public t_aper13() { + vvd(astrom.eral, 6.912, 1.0E-12, "jauAper", "pmt"); + }); +test("t_aper13", () => { let ut11: number; let ut12: number; const astrom: TSOFA.Astrom = new TSOFA.Astrom(); @@ -3112,10 +2916,9 @@ export class TSOFATest { ut11 = 2456165.5; ut12 = 0.401182685; TSOFA.jauAper13(ut11, ut12, astrom); - this.vvd(astrom.eral, 3.316236661789695, 1.0E-12, "jauAper13", "pmt"); - } - @Test() - public t_apio() { + vvd(astrom.eral, 3.316236661789695, 1.0E-12, "jauAper13", "pmt"); + }); +test("t_apio", () => { let sp: number; let theta: number; let elong: number; @@ -3136,18 +2939,17 @@ export class TSOFATest { refa = 2.01418779E-4; refb = -2.36140831E-7; TSOFA.jauApio(sp, theta, elong, phi, hm, xp, yp, refa, refb, astrom); - this.vvd(astrom.along, -0.5278008060295996, 1.0E-12, "jauApio", "along"); - this.vvd(astrom.xpl, 1.133427418130753E-6, 1.0E-17, "jauApio", "xpl"); - this.vvd(astrom.ypl, 1.4533475957806462E-6, 1.0E-17, "jauApio", "ypl"); - this.vvd(astrom.sphi, -0.9440115679003211, 1.0E-12, "jauApio", "sphi"); - this.vvd(astrom.cphi, 0.3299123514971475, 1.0E-12, "jauApio", "cphi"); - this.vvd(astrom.diurab, 5.135843661699913E-7, 1.0E-12, "jauApio", "diurab"); - this.vvd(astrom.eral, 2.6176089039704005, 1.0E-12, "jauApio", "eral"); - this.vvd(astrom.refa, 2.01418779E-4, 1.0E-15, "jauApio", "refa"); - this.vvd(astrom.refb, -2.36140831E-7, 1.0E-18, "jauApio", "refb"); - } - @Test() - public t_apio13() { + vvd(astrom.along, -0.5278008060295996, 1.0E-12, "jauApio", "along"); + vvd(astrom.xpl, 1.133427418130753E-6, 1.0E-17, "jauApio", "xpl"); + vvd(astrom.ypl, 1.4533475957806462E-6, 1.0E-17, "jauApio", "ypl"); + vvd(astrom.sphi, -0.9440115679003211, 1.0E-12, "jauApio", "sphi"); + vvd(astrom.cphi, 0.3299123514971475, 1.0E-12, "jauApio", "cphi"); + vvd(astrom.diurab, 5.135843661699913E-7, 1.0E-12, "jauApio", "diurab"); + vvd(astrom.eral, 2.6176089039704005, 1.0E-12, "jauApio", "eral"); + vvd(astrom.refa, 2.01418779E-4, 1.0E-15, "jauApio", "refa"); + vvd(astrom.refb, -2.36140831E-7, 1.0E-18, "jauApio", "refb"); + }); +test("t_apio13", () => { let utc1: number; let utc2: number; let dut1: number; @@ -3174,18 +2976,17 @@ export class TSOFATest { rh = 0.59; wl = 0.55; TSOFA.jauApio13(utc1, utc2, dut1, elong, phi, hm, xp, yp, phpa, tc, rh, wl, astrom); - this.vvd(astrom.along, -0.5278008060295996, 1.0E-12, "jauApio13", "along"); - this.vvd(astrom.xpl, 1.133427418130753E-6, 1.0E-17, "jauApio13", "xpl"); - this.vvd(astrom.ypl, 1.4533475957806462E-6, 1.0E-17, "jauApio13", "ypl"); - this.vvd(astrom.sphi, -0.9440115679003211, 1.0E-12, "jauApio13", "sphi"); - this.vvd(astrom.cphi, 0.3299123514971475, 1.0E-12, "jauApio13", "cphi"); - this.vvd(astrom.diurab, 5.135843661699913E-7, 1.0E-12, "jauApio13", "diurab"); - this.vvd(astrom.eral, 2.617608909189664, 1.0E-12, "jauApio13", "eral"); - this.vvd(astrom.refa, 2.014187785940397E-4, 1.0E-15, "jauApio13", "refa"); - this.vvd(astrom.refb, -2.3614083149436963E-7, 1.0E-18, "jauApio13", "refb"); - } - @Test() - public t_atci13() { + vvd(astrom.along, -0.5278008060295996, 1.0E-12, "jauApio13", "along"); + vvd(astrom.xpl, 1.133427418130753E-6, 1.0E-17, "jauApio13", "xpl"); + vvd(astrom.ypl, 1.4533475957806462E-6, 1.0E-17, "jauApio13", "ypl"); + vvd(astrom.sphi, -0.9440115679003211, 1.0E-12, "jauApio13", "sphi"); + vvd(astrom.cphi, 0.3299123514971475, 1.0E-12, "jauApio13", "cphi"); + vvd(astrom.diurab, 5.135843661699913E-7, 1.0E-12, "jauApio13", "diurab"); + vvd(astrom.eral, 2.617608909189664, 1.0E-12, "jauApio13", "eral"); + vvd(astrom.refa, 2.014187785940397E-4, 1.0E-15, "jauApio13", "refa"); + vvd(astrom.refb, -2.3614083149436963E-7, 1.0E-18, "jauApio13", "refb"); + }); +test("t_atci13", () => { let rc: number; let dc: number; let pr: number; @@ -3203,12 +3004,11 @@ export class TSOFATest { date1 = 2456165.5; date2 = 0.401182685; const coe: TSOFA.SphericalCoordinateEO = TSOFA.jauAtci13(rc, dc, pr, pd, px, rv, date1, date2); - this.vvd(coe.pos.alpha, 2.710121572968697, 1.0E-12, "jauAtci13", "ri"); - this.vvd(coe.pos.delta, 0.1729371367219539, 1.0E-12, "jauAtci13", "di"); - this.vvd(coe.eo, -0.0029006187126573756, 1.0E-14, "jauAtci13", "eo"); - } - @Test() - public t_atciq() { + vvd(coe.pos.alpha, 2.710121572968697, 1.0E-12, "jauAtci13", "ri"); + vvd(coe.pos.delta, 0.1729371367219539, 1.0E-12, "jauAtci13", "di"); + vvd(coe.eo, -0.0029006187126573756, 1.0E-14, "jauAtci13", "eo"); + }); +test("t_atciq", () => { let date1: number; let date2: number; let rc: number; @@ -3228,11 +3028,10 @@ export class TSOFATest { px = 0.1; rv = 55.0; const co: TSOFA.SphericalCoordinate = TSOFA.jauAtciq(rc, dc, pr, pd, px, rv, astrom); - this.vvd(co.alpha, 2.710121572968697, 1.0E-12, "jauAtciq", "ri"); - this.vvd(co.delta, 0.1729371367219539, 1.0E-12, "jauAtciq", "di"); - } - @Test() - public t_atciqn() { + vvd(co.alpha, 2.710121572968697, 1.0E-12, "jauAtciq", "ri"); + vvd(co.delta, 0.1729371367219539, 1.0E-12, "jauAtciq", "di"); + }); +test("t_atciqn", () => { const b: TSOFA.Ldbody[] = [new TSOFA.Ldbody(), new TSOFA.Ldbody(), new TSOFA.Ldbody()]; let date1: number; let date2: number; @@ -3277,11 +3076,10 @@ export class TSOFATest { b[2].pv[1][1] = -3.30888387E-7; b[2].pv[1][2] = -2.96486623E-7; const co: TSOFA.SphericalCoordinate = TSOFA.jauAtciqn(rc, dc, pr, pd, px, rv, astrom, 3, b); - this.vvd(co.alpha, 2.7101220081049835, 1.0E-12, "jauAtciqn", "ri"); - this.vvd(co.delta, 0.1729371916492768, 1.0E-12, "jauAtciqn", "di"); - } - @Test() - public t_atciqz() { + vvd(co.alpha, 2.7101220081049835, 1.0E-12, "jauAtciqn", "ri"); + vvd(co.delta, 0.1729371916492768, 1.0E-12, "jauAtciqn", "di"); + }); +test("t_atciqz", () => { let date1: number; let date2: number; let rc: number; @@ -3293,11 +3091,10 @@ export class TSOFATest { rc = 2.71; dc = 0.174; const co: TSOFA.SphericalCoordinate = TSOFA.jauAtciqz(rc, dc, astrom); - this.vvd(co.alpha, 2.709994899247257, 1.0E-12, "jauAtciqz", "ri"); - this.vvd(co.delta, 0.17287407209849318, 1.0E-12, "jauAtciqz", "di"); - } - @Test() - public t_atco13() { + vvd(co.alpha, 2.709994899247257, 1.0E-12, "jauAtciqz", "ri"); + vvd(co.delta, 0.17287407209849318, 1.0E-12, "jauAtciqz", "di"); + }); +test("t_atco13", () => { let rc: number; let dc: number; let pr: number; @@ -3335,15 +3132,14 @@ export class TSOFATest { rh = 0.59; wl = 0.55; const ope: TSOFA.ObservedPositionEO = TSOFA.jauAtco13(rc, dc, pr, pd, px, rv, utc1, utc2, dut1, elong, phi, hm, xp, yp, phpa, tc, rh, wl); - this.vvd(ope.op.aob, 0.09251774485485516, 1.0E-12, "jauAtco13", "aob"); - this.vvd(ope.op.zob, 1.4076614052564993, 1.0E-12, "jauAtco13", "zob"); - this.vvd(ope.op.hob, -0.09265154431529725, 1.0E-12, "jauAtco13", "hob"); - this.vvd(ope.op.dob, 0.1716626560072526, 1.0E-12, "jauAtco13", "dob"); - this.vvd(ope.op.rob, 2.710260453504961, 1.0E-12, "jauAtco13", "rob"); - this.vvd(ope.eo, -0.0030205483548024128, 1.0E-14, "jauAtco13", "eo"); - } - @Test() - public t_atic13() { + vvd(ope.op.aob, 0.09251774485485516, 1.0E-12, "jauAtco13", "aob"); + vvd(ope.op.zob, 1.4076614052564993, 1.0E-12, "jauAtco13", "zob"); + vvd(ope.op.hob, -0.09265154431529725, 1.0E-12, "jauAtco13", "hob"); + vvd(ope.op.dob, 0.1716626560072526, 1.0E-12, "jauAtco13", "dob"); + vvd(ope.op.rob, 2.710260453504961, 1.0E-12, "jauAtco13", "rob"); + vvd(ope.eo, -0.0030205483548024128, 1.0E-14, "jauAtco13", "eo"); + }); +test("t_atic13", () => { let ri: number; let di: number; let date1: number; @@ -3353,12 +3149,11 @@ export class TSOFATest { date1 = 2456165.5; date2 = 0.401182685; const oe: TSOFA.SphericalCoordinateEO = TSOFA.jauAtic13(ri, di, date1, date2); - this.vvd(oe.pos.alpha, 2.7101265045317167, 1.0E-12, "jauAtic13", "rc"); - this.vvd(oe.pos.delta, 0.17406325376270346, 1.0E-12, "jauAtic13", "dc"); - this.vvd(oe.eo, -0.0029006187126573756, 1.0E-14, "jauAtic13", "eo"); - } - @Test() - public t_aticq() { + vvd(oe.pos.alpha, 2.7101265045317167, 1.0E-12, "jauAtic13", "rc"); + vvd(oe.pos.delta, 0.17406325376270346, 1.0E-12, "jauAtic13", "dc"); + vvd(oe.eo, -0.0029006187126573756, 1.0E-14, "jauAtic13", "eo"); + }); +test("t_aticq", () => { let date1: number; let date2: number; let ri: number; @@ -3370,11 +3165,10 @@ export class TSOFATest { ri = 2.710121572969039; di = 0.17293713672182304; const co: TSOFA.SphericalCoordinate = TSOFA.jauAticq(ri, di, astrom); - this.vvd(co.alpha, 2.7101265045317167, 1.0E-12, "jauAticq", "rc"); - this.vvd(co.delta, 0.17406325376270346, 1.0E-12, "jauAticq", "dc"); - } - @Test() - public t_aticqn() { + vvd(co.alpha, 2.7101265045317167, 1.0E-12, "jauAticq", "rc"); + vvd(co.delta, 0.17406325376270346, 1.0E-12, "jauAticq", "dc"); + }); +test("t_aticqn", () => { let date1: number; let date2: number; let ri: number; @@ -3411,11 +3205,10 @@ export class TSOFATest { b[2].pv[1][1] = -3.30888387E-7; b[2].pv[1][2] = -2.96486623E-7; const co: TSOFA.SphericalCoordinate = TSOFA.jauAticqn(ri, di, astrom, 3, b); - this.vvd(co.alpha, 2.7099995750330272, 1.0E-12, "jauAtciqn", "rc"); - this.vvd(co.delta, 0.173999965631647, 1.0E-12, "jauAtciqn", "dc"); - } - @Test() - public t_atio13() { + vvd(co.alpha, 2.7099995750330272, 1.0E-12, "jauAtciqn", "rc"); + vvd(co.delta, 0.173999965631647, 1.0E-12, "jauAtciqn", "dc"); + }); +test("t_atio13", () => { let ri: number; let di: number; let utc1: number; @@ -3445,14 +3238,13 @@ export class TSOFATest { rh = 0.59; wl = 0.55; const o: TSOFA.ObservedPosition = TSOFA.jauAtio13(ri, di, utc1, utc2, dut1, elong, phi, hm, xp, yp, phpa, tc, rh, wl); - this.vvd(o.aob, 0.09233952224895123, 1.0E-12, "jauAtio13", "aob"); - this.vvd(o.zob, 1.40775870451355, 1.0E-12, "jauAtio13", "zob"); - this.vvd(o.hob, -0.09247619879881698, 1.0E-12, "jauAtio13", "hob"); - this.vvd(o.dob, 0.17176534357562348, 1.0E-12, "jauAtio13", "dob"); - this.vvd(o.rob, 2.7100851079884807, 1.0E-12, "jauAtio13", "rob"); - } - @Test() - public t_atioq() { + vvd(o.aob, 0.09233952224895123, 1.0E-12, "jauAtio13", "aob"); + vvd(o.zob, 1.40775870451355, 1.0E-12, "jauAtio13", "zob"); + vvd(o.hob, -0.09247619879881698, 1.0E-12, "jauAtio13", "hob"); + vvd(o.dob, 0.17176534357562348, 1.0E-12, "jauAtio13", "dob"); + vvd(o.rob, 2.7100851079884807, 1.0E-12, "jauAtio13", "rob"); + }); +test("t_atioq", () => { let utc1: number; let utc2: number; let dut1: number; @@ -3484,14 +3276,13 @@ export class TSOFATest { ri = 2.710121572969039; di = 0.17293713672182304; const o: TSOFA.ObservedPosition = TSOFA.jauAtioq(ri, di, astrom); - this.vvd(o.aob, 0.09233952224895123, 1.0E-12, "jauAtioq", "aob"); - this.vvd(o.zob, 1.40775870451355, 1.0E-12, "jauAtioq", "zob"); - this.vvd(o.hob, -0.09247619879881698, 1.0E-12, "jauAtioq", "hob"); - this.vvd(o.dob, 0.17176534357562348, 1.0E-12, "jauAtioq", "dob"); - this.vvd(o.rob, 2.7100851079884807, 1.0E-12, "jauAtioq", "rob"); - } - @Test() - public t_atoc13() { + vvd(o.aob, 0.09233952224895123, 1.0E-12, "jauAtioq", "aob"); + vvd(o.zob, 1.40775870451355, 1.0E-12, "jauAtioq", "zob"); + vvd(o.hob, -0.09247619879881698, 1.0E-12, "jauAtioq", "hob"); + vvd(o.dob, 0.17176534357562348, 1.0E-12, "jauAtioq", "dob"); + vvd(o.rob, 2.7100851079884807, 1.0E-12, "jauAtioq", "rob"); + }); +test("t_atoc13", () => { let utc1: number; let utc2: number; let dut1: number; @@ -3521,21 +3312,20 @@ export class TSOFATest { ob1 = 2.7100851079868864; ob2 = 0.1717653435758265; let oc: TSOFA.SphericalCoordinate = TSOFA.jauAtoc13("R", ob1, ob2, utc1, utc2, dut1, elong, phi, hm, xp, yp, phpa, tc, rh, wl); - this.vvd(oc.alpha, 2.709956744659136, 1.0E-12, "jauAtoc13", "R/rc"); - this.vvd(oc.delta, 0.17416965008984714, 1.0E-12, "jauAtoc13", "R/dc"); + vvd(oc.alpha, 2.709956744659136, 1.0E-12, "jauAtoc13", "R/rc"); + vvd(oc.delta, 0.17416965008984714, 1.0E-12, "jauAtoc13", "R/dc"); ob1 = -0.09247619879782006; ob2 = 0.1717653435758265; oc = TSOFA.jauAtoc13("H", ob1, ob2, utc1, utc2, dut1, elong, phi, hm, xp, yp, phpa, tc, rh, wl); - this.vvd(oc.alpha, 2.709956744659734, 1.0E-12, "jauAtoc13", "H/rc"); - this.vvd(oc.delta, 0.17416965008984714, 1.0E-12, "jauAtoc13", "H/dc"); + vvd(oc.alpha, 2.709956744659734, 1.0E-12, "jauAtoc13", "H/rc"); + vvd(oc.delta, 0.17416965008984714, 1.0E-12, "jauAtoc13", "H/dc"); ob1 = 0.0923395222479499; ob2 = 1.4077587045137225; oc = TSOFA.jauAtoc13("A", ob1, ob2, utc1, utc2, dut1, elong, phi, hm, xp, yp, phpa, tc, rh, wl); - this.vvd(oc.alpha, 2.709956744659734, 1.0E-12, "jauAtoc13", "A/rc"); - this.vvd(oc.delta, 0.17416965008984714, 1.0E-12, "jauAtoc13", "A/dc"); - } - @Test() - public t_atoi13() { + vvd(oc.alpha, 2.709956744659734, 1.0E-12, "jauAtoc13", "A/rc"); + vvd(oc.delta, 0.17416965008984714, 1.0E-12, "jauAtoc13", "A/dc"); + }); +test("t_atoi13", () => { let utc1: number; let utc2: number; let dut1: number; @@ -3565,21 +3355,20 @@ export class TSOFATest { ob1 = 2.7100851079868864; ob2 = 0.1717653435758265; let co: TSOFA.SphericalCoordinate = TSOFA.jauAtoi13("R", ob1, ob2, utc1, utc2, dut1, elong, phi, hm, xp, yp, phpa, tc, rh, wl); - this.vvd(co.alpha, 2.7101215744475406, 1.0E-12, "jauAtoi13", "R/ri"); - this.vvd(co.delta, 0.17293718391166088, 1.0E-12, "jauAtoi13", "R/di"); + vvd(co.alpha, 2.7101215744475406, 1.0E-12, "jauAtoi13", "R/ri"); + vvd(co.delta, 0.17293718391166088, 1.0E-12, "jauAtoi13", "R/di"); ob1 = -0.09247619879782006; ob2 = 0.1717653435758265; co = TSOFA.jauAtoi13("H", ob1, ob2, utc1, utc2, dut1, elong, phi, hm, xp, yp, phpa, tc, rh, wl); - this.vvd(co.alpha, 2.710121574448139, 1.0E-12, "jauAtoi13", "H/ri"); - this.vvd(co.delta, 0.17293718391166088, 1.0E-12, "jauAtoi13", "H/di"); + vvd(co.alpha, 2.710121574448139, 1.0E-12, "jauAtoi13", "H/ri"); + vvd(co.delta, 0.17293718391166088, 1.0E-12, "jauAtoi13", "H/di"); ob1 = 0.0923395222479499; ob2 = 1.4077587045137225; co = TSOFA.jauAtoi13("A", ob1, ob2, utc1, utc2, dut1, elong, phi, hm, xp, yp, phpa, tc, rh, wl); - this.vvd(co.alpha, 2.710121574448139, 1.0E-12, "jauAtoi13", "A/ri"); - this.vvd(co.delta, 0.17293718391166088, 1.0E-12, "jauAtoi13", "A/di"); - } - @Test() - public t_atoiq() { + vvd(co.alpha, 2.710121574448139, 1.0E-12, "jauAtoi13", "A/ri"); + vvd(co.delta, 0.17293718391166088, 1.0E-12, "jauAtoi13", "A/di"); + }); +test("t_atoiq", () => { let utc1: number; let utc2: number; let dut1: number; @@ -3611,21 +3400,20 @@ export class TSOFATest { ob1 = 2.7100851079868864; ob2 = 0.1717653435758265; let co: TSOFA.SphericalCoordinate = TSOFA.jauAtoiq("R", ob1, ob2, astrom); - this.vvd(co.alpha, 2.7101215744475406, 1.0E-12, "jauAtoiq", "R/ri"); - this.vvd(co.delta, 0.17293718391166088, 1.0E-12, "jauAtoiq", "R/di"); + vvd(co.alpha, 2.7101215744475406, 1.0E-12, "jauAtoiq", "R/ri"); + vvd(co.delta, 0.17293718391166088, 1.0E-12, "jauAtoiq", "R/di"); ob1 = -0.09247619879782006; ob2 = 0.1717653435758265; co = TSOFA.jauAtoiq("H", ob1, ob2, astrom); - this.vvd(co.alpha, 2.710121574448139, 1.0E-12, "jauAtoiq", "H/ri"); - this.vvd(co.delta, 0.17293718391166088, 1.0E-12, "jauAtoiq", "H/di"); + vvd(co.alpha, 2.710121574448139, 1.0E-12, "jauAtoiq", "H/ri"); + vvd(co.delta, 0.17293718391166088, 1.0E-12, "jauAtoiq", "H/di"); ob1 = 0.0923395222479499; ob2 = 1.4077587045137225; co = TSOFA.jauAtoiq("A", ob1, ob2, astrom); - this.vvd(co.alpha, 2.710121574448139, 1.0E-12, "jauAtoiq", "A/ri"); - this.vvd(co.delta, 0.17293718391166088, 1.0E-12, "jauAtoiq", "A/di"); - } - @Test() - public t_ld() { + vvd(co.alpha, 2.710121574448139, 1.0E-12, "jauAtoiq", "A/ri"); + vvd(co.delta, 0.17293718391166088, 1.0E-12, "jauAtoiq", "A/di"); + }); +test("t_ld", () => { let bm: number; const p: number[] = [0, 0, 0]; const q: number[] = [0, 0, 0]; @@ -3646,12 +3434,11 @@ export class TSOFATest { em = 8.91276983; dlim = 3.0E-10; p1 = TSOFA.jauLd(bm, p, q, e, em, dlim); - this.vvd(p1[0], -0.7632762548968159, 1.0E-12, "jauLd", "1"); - this.vvd(p1[1], -0.6086337670823763, 1.0E-12, "jauLd", "2"); - this.vvd(p1[2], -0.2167355431320547, 1.0E-12, "jauLd", "3"); - } - @Test() - public t_ldn() { + vvd(p1[0], -0.7632762548968159, 1.0E-12, "jauLd", "1"); + vvd(p1[1], -0.6086337670823763, 1.0E-12, "jauLd", "2"); + vvd(p1[2], -0.2167355431320547, 1.0E-12, "jauLd", "3"); + }); +test("t_ldn", () => { let n: number; const b: TSOFA.Ldbody[] = [new TSOFA.Ldbody(), new TSOFA.Ldbody(), new TSOFA.Ldbody()]; const ob: number[] = [0, 0, 0]; @@ -3689,12 +3476,11 @@ export class TSOFATest { sc[1] = -0.608633767; sc[2] = -0.216735543; sn = TSOFA.jauLdn(n, b, ob, sc); - this.vvd(sn[0], -0.7632762579693334, 1.0E-12, "jauLdn", "1"); - this.vvd(sn[1], -0.6086337636093002, 1.0E-12, "jauLdn", "2"); - this.vvd(sn[2], -0.2167355420646328, 1.0E-12, "jauLdn", "3"); - } - @Test() - public t_ldsun() { + vvd(sn[0], -0.7632762579693334, 1.0E-12, "jauLdn", "1"); + vvd(sn[1], -0.6086337636093002, 1.0E-12, "jauLdn", "2"); + vvd(sn[2], -0.2167355420646328, 1.0E-12, "jauLdn", "3"); + }); +test("t_ldsun", () => { const p: number[] = [0, 0, 0]; const e: number[] = [0, 0, 0]; let em: number; @@ -3707,12 +3493,11 @@ export class TSOFATest { e[2] = -0.0907169552; em = 0.999809214; p1 = TSOFA.jauLdsun(p, e, em); - this.vvd(p1[0], -0.7632762580731414, 1.0E-12, "jauLdsun", "1"); - this.vvd(p1[1], -0.6086337635262647, 1.0E-12, "jauLdsun", "2"); - this.vvd(p1[2], -0.21673554193223213, 1.0E-12, "jauLdsun", "3"); - } - @Test() - public t_pmpx() { + vvd(p1[0], -0.7632762580731414, 1.0E-12, "jauLdsun", "1"); + vvd(p1[1], -0.6086337635262647, 1.0E-12, "jauLdsun", "2"); + vvd(p1[2], -0.21673554193223213, 1.0E-12, "jauLdsun", "3"); + }); +test("t_pmpx", () => { let rc: number; let dc: number; let pr: number; @@ -3733,12 +3518,11 @@ export class TSOFATest { pob[1] = 0.4; pob[2] = 0.1; pco = TSOFA.jauPmpx(rc, dc, pr, pd, px, rv, pmt, pob); - this.vvd(pco[0], 0.23281376239603085, 1.0E-12, "jauPmpx", "1"); - this.vvd(pco[1], 0.6651097085397856, 1.0E-12, "jauPmpx", "2"); - this.vvd(pco[2], 0.709525776589636, 1.0E-12, "jauPmpx", "3"); - } - @Test() - public t_pmsafe() { + vvd(pco[0], 0.23281376239603085, 1.0E-12, "jauPmpx", "1"); + vvd(pco[1], 0.6651097085397856, 1.0E-12, "jauPmpx", "2"); + vvd(pco[2], 0.709525776589636, 1.0E-12, "jauPmpx", "3"); + }); +test("t_pmsafe", () => { let ra1: number; let dec1: number; let pmr1: number; @@ -3760,15 +3544,14 @@ export class TSOFATest { ep2a = 2400000.5; ep2b = 51544.5; const cc: TSOFA.CatalogCoords = TSOFA.jauPmsafe(ra1, dec1, pmr1, pmd1, px1, rv1, ep1a, ep1b, ep2a, ep2b); - this.vvd(cc.pos.alpha, 1.234087484501017, 1.0E-12, "jauPmsafe", "ra2"); - this.vvd(cc.pos.delta, 0.7888249982450468, 1.0E-12, "jauPmsafe", "dec2"); - this.vvd(cc.pm.alpha, 9.996457663586074E-6, 1.0E-12, "jauPmsafe", "pmr2"); - this.vvd(cc.pm.delta, -2.0000400851067547E-5, 1.0E-16, "jauPmsafe", "pmd2"); - this.vvd(cc.px, 0.009999997295356831, 1.0E-12, "jauPmsafe", "px2"); - this.vvd(cc.rv, 10.3846838029392, 1.0E-10, "jauPmsafe", "rv2"); - } - @Test() - public t_pvtob() { + vvd(cc.pos.alpha, 1.234087484501017, 1.0E-12, "jauPmsafe", "ra2"); + vvd(cc.pos.delta, 0.7888249982450468, 1.0E-12, "jauPmsafe", "dec2"); + vvd(cc.pm.alpha, 9.996457663586074E-6, 1.0E-12, "jauPmsafe", "pmr2"); + vvd(cc.pm.delta, -2.0000400851067547E-5, 1.0E-16, "jauPmsafe", "pmd2"); + vvd(cc.px, 0.009999997295356831, 1.0E-12, "jauPmsafe", "px2"); + vvd(cc.rv, 10.3846838029392, 1.0E-10, "jauPmsafe", "rv2"); + }); +test("t_pvtob", () => { let elong: number; let phi: number; let hm: number; @@ -3785,15 +3568,14 @@ export class TSOFATest { sp = 1.0E-8; theta = 5.0; pv = TSOFA.jauPvtob(elong, phi, hm, xp, yp, sp, theta); - this.vvd(pv[0][0], 4225081.367071159, 1.0E-5, "jauPvtob", "p(1)"); - this.vvd(pv[0][1], 3681943.215856198, 1.0E-5, "jauPvtob", "p(2)"); - this.vvd(pv[0][2], 3041149.3992412607, 1.0E-5, "jauPvtob", "p(3)"); - this.vvd(pv[1][0], -268.49153893659985, 1.0E-9, "jauPvtob", "v(1)"); - this.vvd(pv[1][1], 308.0977983288903, 1.0E-9, "jauPvtob", "v(2)"); - this.vvd(pv[1][2], 0, 0, "jauPvtob", "v(3)"); - } - @Test() - public t_refco() { + vvd(pv[0][0], 4225081.367071159, 1.0E-5, "jauPvtob", "p(1)"); + vvd(pv[0][1], 3681943.215856198, 1.0E-5, "jauPvtob", "p(2)"); + vvd(pv[0][2], 3041149.3992412607, 1.0E-5, "jauPvtob", "p(3)"); + vvd(pv[1][0], -268.49153893659985, 1.0E-9, "jauPvtob", "v(1)"); + vvd(pv[1][1], 308.0977983288903, 1.0E-9, "jauPvtob", "v(2)"); + vvd(pv[1][2], 0, 0, "jauPvtob", "v(3)"); + }); +test("t_refco", () => { let phpa: number; let tc: number; let rh: number; @@ -3803,22 +3585,21 @@ export class TSOFATest { rh = 0.9; wl = 0.4; const ref: TSOFA.RefCos = TSOFA.jauRefco(phpa, tc, rh, wl); - this.vvd(ref.a, 2.264949956241415E-4, 1.0E-15, "jauRefco", "refa"); - this.vvd(ref.b, -2.598658261729344E-7, 1.0E-18, "jauRefco", "refb"); - } - @Test() - public t_d2dtf() { + vvd(ref.a, 2.264949956241415E-4, 1.0E-15, "jauRefco", "refa"); + vvd(ref.b, -2.598658261729344E-7, 1.0E-18, "jauRefco", "refb"); + }); +test("t_d2dtf", () => { const c: TSOFA.CalendarHMS = TSOFA.jauD2dtf("UTC", 5, 2400000.5, 49533.99999); - this.viv(c.iy, 1994, "jauD2dtf", "y"); - this.viv(c.im, 6, "jauD2dtf", "mo"); - this.viv(c.id, 30, "jauD2dtf", "d"); - this.viv(c.ihmsf[0], 23, "jauD2dtf", "h"); - this.viv(c.ihmsf[1], 59, "jauD2dtf", "m"); - this.viv(c.ihmsf[2], 60, "jauD2dtf", "s"); - this.viv(c.ihmsf[3], 13599, "jauD2dtf", "f"); - } + viv(c.iy, 1994, "jauD2dtf", "y"); + viv(c.im, 6, "jauD2dtf", "mo"); + viv(c.id, 30, "jauD2dtf", "d"); + viv(c.ihmsf[0], 23, "jauD2dtf", "h"); + viv(c.ihmsf[1], 59, "jauD2dtf", "m"); + viv(c.ihmsf[2], 60, "jauD2dtf", "s"); + viv(c.ihmsf[3], 13599, "jauD2dtf", "f"); + }); /** * - - - - - - - - @@ -3835,11 +3616,11 @@ export class TSOFATest { * This revision: 2013 August 7 * @throws TSOFAInternalError * @throws TSOFAIllegalParameter - */ @Test() - public t_dtf2d() { + */ +test("t_dtf2d", () => { const jd: TSOFA.JulianDate = TSOFA.jauDtf2d("UTC", 1994, 6, 30, 23, 59, 60.13599); - this.vvd(jd.djm0 + jd.djm1, 2449534.49999, 1.0E-6, "jauDtf2d", "u"); - } + vvd(jd.djm0 + jd.djm1, 2449534.49999, 1.0E-6, "jauDtf2d", "u"); + }); /** * @@ -3848,17 +3629,17 @@ export class TSOFATest { * Called: TSOFA.jauG2icrs, vvd * * This revision: 2015 March 02 - */ @Test() - public t_g2icrs() { + */ +test("t_g2icrs", () => { let dl: number; let db: number; let co: TSOFA.SphericalCoordinate; dl = 5.585053606381854; db = -0.7853981633974483; co = TSOFA.jauG2icrs(dl, db); - this.vvd(co.alpha, 5.933807430222719, 1.0E-14, "jauG2icrs", "Ra"); - this.vvd(co.delta, -1.1784870613579945, 1.0E-14, "jauG2icrs", "Dec"); - } + vvd(co.alpha, 5.933807430222719, 1.0E-14, "jauG2icrs", "Ra"); + vvd(co.delta, -1.1784870613579945, 1.0E-14, "jauG2icrs", "Dec"); + }); /** * @@ -3867,16 +3648,16 @@ export class TSOFATest { * Called: TSOFA.jauIcrs2g, vvd * * This revision: 2015 March 02 - */ @Test() - public t_icrs2g() { + */ +test("t_icrs2g", () => { let dr: number; let dd: number; dr = 5.933807430222719; dd = -1.1784870613579945; const co: TSOFA.SphericalCoordinate = TSOFA.jauIcrs2g(dr, dd); - this.vvd(co.alpha, 5.585053606381854, 1.0E-14, "jauIcrs2g", "L"); - this.vvd(co.delta, -0.7853981633974483, 1.0E-14, "jauIcrs2g", "B"); - } + vvd(co.alpha, 5.585053606381854, 1.0E-14, "jauIcrs2g", "L"); + vvd(co.delta, -0.7853981633974483, 1.0E-14, "jauIcrs2g", "B"); + }); /** * @@ -3888,8 +3669,8 @@ export class TSOFATest { * Called: TSOFA.jauEceq06, vvd * * This revision: 2016 March 12 - */ @Test() - public t_eceq06() { + */ +test("t_eceq06", () => { let date1: number; let date2: number; let dl: number; @@ -3899,9 +3680,9 @@ export class TSOFATest { dl = 5.1; db = -0.9; const co: TSOFA.SphericalCoordinate = TSOFA.jauEceq06(date1, date2, dl, db); - this.vvd(co.alpha, 5.533459733613628, 1.0E-14, "jauEceq06", "dr"); - this.vvd(co.delta, -1.2465429325544806, 1.0E-14, "jauEceq06", "dd"); - } + vvd(co.alpha, 5.533459733613628, 1.0E-14, "jauEceq06", "dr"); + vvd(co.delta, -1.2465429325544806, 1.0E-14, "jauEceq06", "dd"); + }); /** * @@ -3913,23 +3694,23 @@ export class TSOFATest { * Called: TSOFA.jauEcm06, vvd * * This revision: 2016 March 12 - */ @Test() - public t_ecm06() { + */ +test("t_ecm06", () => { let date1: number; let date2: number; date1 = 2456165.5; date2 = 0.401182685; const rm: number[][] = TSOFA.jauEcm06(date1, date2); - this.vvd(rm[0][0], 0.9999952427708702, 1.0E-14, "jauEcm06", "rm11"); - this.vvd(rm[0][1], -0.0028290620576630426, 1.0E-14, "jauEcm06", "rm12"); - this.vvd(rm[0][2], -0.0012291637411000176, 1.0E-14, "jauEcm06", "rm13"); - this.vvd(rm[1][0], 0.0030845468769086534, 1.0E-14, "jauEcm06", "rm21"); - this.vvd(rm[1][1], 0.9174891871550392, 1.0E-14, "jauEcm06", "rm22"); - this.vvd(rm[1][2], 0.3977487611849338, 1.0E-14, "jauEcm06", "rm23"); - this.vvd(rm[2][0], 2.488512951527406E-6, 1.0E-14, "jauEcm06", "rm31"); - this.vvd(rm[2][1], -0.39775066041611956, 1.0E-14, "jauEcm06", "rm32"); - this.vvd(rm[2][2], 0.9174935488232863, 1.0E-14, "jauEcm06", "rm33"); - } + vvd(rm[0][0], 0.9999952427708702, 1.0E-14, "jauEcm06", "rm11"); + vvd(rm[0][1], -0.0028290620576630426, 1.0E-14, "jauEcm06", "rm12"); + vvd(rm[0][2], -0.0012291637411000176, 1.0E-14, "jauEcm06", "rm13"); + vvd(rm[1][0], 0.0030845468769086534, 1.0E-14, "jauEcm06", "rm21"); + vvd(rm[1][1], 0.9174891871550392, 1.0E-14, "jauEcm06", "rm22"); + vvd(rm[1][2], 0.3977487611849338, 1.0E-14, "jauEcm06", "rm23"); + vvd(rm[2][0], 2.488512951527406E-6, 1.0E-14, "jauEcm06", "rm31"); + vvd(rm[2][1], -0.39775066041611956, 1.0E-14, "jauEcm06", "rm32"); + vvd(rm[2][2], 0.9174935488232863, 1.0E-14, "jauEcm06", "rm33"); + }); /** * @@ -3941,8 +3722,8 @@ export class TSOFATest { * Called: TSOFA.jauEqec06, vvd * * This revision: 2016 March 12 - */ @Test() - public t_eqec06() { + */ +test("t_eqec06", () => { let date1: number; let date2: number; let dr: number; @@ -3952,9 +3733,9 @@ export class TSOFATest { dr = 1.234; dd = 0.987; const co: TSOFA.SphericalCoordinate = TSOFA.jauEqec06(date1, date2, dr, dd); - this.vvd(co.alpha, 1.3425099189946545, 1.0E-14, "jauEqec06", "dl"); - this.vvd(co.delta, 0.5926215259704608, 1.0E-14, "jauEqec06", "db"); - } + vvd(co.alpha, 1.3425099189946545, 1.0E-14, "jauEqec06", "dl"); + vvd(co.delta, 0.5926215259704608, 1.0E-14, "jauEqec06", "db"); + }); /** * Test TSOFA.jauLteceq function. @@ -3965,8 +3746,8 @@ export class TSOFATest { * Called: TSOFA.jauLteceq, vvd * * This revision: 2016 March 12 - */ @Test() - public t_lteceq() { + */ +test("t_lteceq", () => { let epj: number; let dl: number; let db: number; @@ -3974,9 +3755,9 @@ export class TSOFATest { dl = 1.5; db = 0.6; const co: TSOFA.SphericalCoordinate = TSOFA.jauLteceq(epj, dl, db); - this.vvd(co.alpha, 1.2751560218619211, 1.0E-14, "jauLteceq", "dr"); - this.vvd(co.delta, 0.9966573543519205, 1.0E-14, "jauLteceq", "dd"); - } + vvd(co.alpha, 1.2751560218619211, 1.0E-14, "jauLteceq", "dr"); + vvd(co.delta, 0.9966573543519205, 1.0E-14, "jauLteceq", "dd"); + }); /** * Test TSOFA.jauLtecm function. @@ -3987,21 +3768,21 @@ export class TSOFATest { * Called: TSOFA.jauLtecm, vvd * * This revision: 2016 March 12 - */ @Test() - public t_ltecm() { + */ +test("t_ltecm", () => { let epj: number; epj = -3000.0; const rm: number[][] = TSOFA.jauLtecm(epj); - this.vvd(rm[0][0], 0.3564105644859789, 1.0E-14, "jauLtecm", "rm11"); - this.vvd(rm[0][1], 0.8530575738617683, 1.0E-14, "jauLtecm", "rm12"); - this.vvd(rm[0][2], 0.381135520779506, 1.0E-14, "jauLtecm", "rm13"); - this.vvd(rm[1][0], -0.934328346964071, 1.0E-14, "jauLtecm", "rm21"); - this.vvd(rm[1][1], 0.3247830597681746, 1.0E-14, "jauLtecm", "rm22"); - this.vvd(rm[1][2], 0.14678727515359408, 1.0E-14, "jauLtecm", "rm23"); - this.vvd(rm[2][0], 0.0014316361912011678, 1.0E-14, "jauLtecm", "rm31"); - this.vvd(rm[2][1], -0.4084222566960599, 1.0E-14, "jauLtecm", "rm32"); - this.vvd(rm[2][2], 0.9127919865189031, 1.0E-14, "jauLtecm", "rm33"); - } + vvd(rm[0][0], 0.3564105644859789, 1.0E-14, "jauLtecm", "rm11"); + vvd(rm[0][1], 0.8530575738617683, 1.0E-14, "jauLtecm", "rm12"); + vvd(rm[0][2], 0.381135520779506, 1.0E-14, "jauLtecm", "rm13"); + vvd(rm[1][0], -0.934328346964071, 1.0E-14, "jauLtecm", "rm21"); + vvd(rm[1][1], 0.3247830597681746, 1.0E-14, "jauLtecm", "rm22"); + vvd(rm[1][2], 0.14678727515359408, 1.0E-14, "jauLtecm", "rm23"); + vvd(rm[2][0], 0.0014316361912011678, 1.0E-14, "jauLtecm", "rm31"); + vvd(rm[2][1], -0.4084222566960599, 1.0E-14, "jauLtecm", "rm32"); + vvd(rm[2][2], 0.9127919865189031, 1.0E-14, "jauLtecm", "rm33"); + }); /** * @@ -4013,8 +3794,8 @@ export class TSOFATest { * Called: TSOFA.jauLteqec, vvd * * This revision: 2016 March 12 - */ @Test() - public t_lteqec() { + */ +test("t_lteqec", () => { let epj: number; let dr: number; let dd: number; @@ -4022,9 +3803,9 @@ export class TSOFATest { dr = 1.234; dd = 0.987; const co: TSOFA.SphericalCoordinate = TSOFA.jauLteqec(epj, dr, dd); - this.vvd(co.alpha, 0.5039483649047115, 1.0E-14, "jauLteqec", "dl"); - this.vvd(co.delta, 0.5848534459726225, 1.0E-14, "jauLteqec", "db"); - } + vvd(co.alpha, 0.5039483649047115, 1.0E-14, "jauLteqec", "dl"); + vvd(co.delta, 0.5848534459726225, 1.0E-14, "jauLteqec", "db"); + }); /** * Test TSOFA.jauLtp function. @@ -4035,21 +3816,21 @@ export class TSOFATest { * Called: TSOFA.jauLtp, vvd * * This revision: 2016 March 12 - */ @Test() - public t_ltp() { + */ +test("t_ltp", () => { let epj: number; epj = 1666.666; const rp: number[][] = TSOFA.jauLtp(epj); - this.vvd(rp[0][0], 0.9967044141159214, 1.0E-14, "jauLtp", "rp11"); - this.vvd(rp[0][1], 0.0743780189319321, 1.0E-14, "jauLtp", "rp12"); - this.vvd(rp[0][2], 0.03237624409345603, 1.0E-14, "jauLtp", "rp13"); - this.vvd(rp[1][0], -0.07437802731819618, 1.0E-14, "jauLtp", "rp21"); - this.vvd(rp[1][1], 0.9972293894454534, 1.0E-14, "jauLtp", "rp22"); - this.vvd(rp[1][2], -0.0012057688427235932, 1.0E-14, "jauLtp", "rp23"); - this.vvd(rp[2][0], -0.03237622482766576, 1.0E-14, "jauLtp", "rp31"); - this.vvd(rp[2][1], -0.001206286039697609, 1.0E-14, "jauLtp", "rp32"); - this.vvd(rp[2][2], 0.9994750246704011, 1.0E-14, "jauLtp", "rp33"); - } + vvd(rp[0][0], 0.9967044141159214, 1.0E-14, "jauLtp", "rp11"); + vvd(rp[0][1], 0.0743780189319321, 1.0E-14, "jauLtp", "rp12"); + vvd(rp[0][2], 0.03237624409345603, 1.0E-14, "jauLtp", "rp13"); + vvd(rp[1][0], -0.07437802731819618, 1.0E-14, "jauLtp", "rp21"); + vvd(rp[1][1], 0.9972293894454534, 1.0E-14, "jauLtp", "rp22"); + vvd(rp[1][2], -0.0012057688427235932, 1.0E-14, "jauLtp", "rp23"); + vvd(rp[2][0], -0.03237622482766576, 1.0E-14, "jauLtp", "rp31"); + vvd(rp[2][1], -0.001206286039697609, 1.0E-14, "jauLtp", "rp32"); + vvd(rp[2][2], 0.9994750246704011, 1.0E-14, "jauLtp", "rp33"); + }); /** * Test TSOFA.jauLtpb function. @@ -4060,21 +3841,21 @@ export class TSOFATest { * Called: TSOFA.jauLtpb, vvd * * This revision: 2016 March 12 - */ @Test() - public t_ltpb() { + */ +test("t_ltpb", () => { let epj: number; epj = 1666.666; const rpb: number[][] = TSOFA.jauLtpb(epj); - this.vvd(rpb[0][0], 0.9967044167723272, 1.0E-14, "jauLtpb", "rpb11"); - this.vvd(rpb[0][1], 0.0743779473120334, 1.0E-14, "jauLtpb", "rpb12"); - this.vvd(rpb[0][2], 0.03237632684841626, 1.0E-14, "jauLtpb", "rpb13"); - this.vvd(rpb[1][0], -0.07437795663437177, 1.0E-14, "jauLtpb", "rpb21"); - this.vvd(rpb[1][1], 0.9972293947500014, 1.0E-14, "jauLtpb", "rpb22"); - this.vvd(rpb[1][2], -0.0012057418659112433, 1.0E-14, "jauLtpb", "rpb23"); - this.vvd(rpb[2][0], -0.03237630543224665, 1.0E-14, "jauLtpb", "rpb31"); - this.vvd(rpb[2][1], -0.0012063167910764854, 1.0E-14, "jauLtpb", "rpb32"); - this.vvd(rpb[2][2], 0.9994750220222439, 1.0E-14, "jauLtpb", "rpb33"); - } + vvd(rpb[0][0], 0.9967044167723272, 1.0E-14, "jauLtpb", "rpb11"); + vvd(rpb[0][1], 0.0743779473120334, 1.0E-14, "jauLtpb", "rpb12"); + vvd(rpb[0][2], 0.03237632684841626, 1.0E-14, "jauLtpb", "rpb13"); + vvd(rpb[1][0], -0.07437795663437177, 1.0E-14, "jauLtpb", "rpb21"); + vvd(rpb[1][1], 0.9972293947500014, 1.0E-14, "jauLtpb", "rpb22"); + vvd(rpb[1][2], -0.0012057418659112433, 1.0E-14, "jauLtpb", "rpb23"); + vvd(rpb[2][0], -0.03237630543224665, 1.0E-14, "jauLtpb", "rpb31"); + vvd(rpb[2][1], -0.0012063167910764854, 1.0E-14, "jauLtpb", "rpb32"); + vvd(rpb[2][2], 0.9994750220222439, 1.0E-14, "jauLtpb", "rpb33"); + }); /** * Test TSOFA.jauLtpecl function. @@ -4085,15 +3866,15 @@ export class TSOFATest { * Called: TSOFA.jauLtpecl, vvd * * This revision: 2016 March 12 - */ @Test() - public t_ltpecl() { + */ +test("t_ltpecl", () => { let epj: number; epj = -1500.0; const vec: number[] = TSOFA.jauLtpecl(epj); - this.vvd(vec[0], 4.7686256764770964E-4, 1.0E-14, "jauLtpecl", "vec1"); - this.vvd(vec[1], -0.40522595330918754, 1.0E-14, "jauLtpecl", "vec2"); - this.vvd(vec[2], 0.9142164401096448, 1.0E-14, "jauLtpecl", "vec3"); - } + vvd(vec[0], 4.7686256764770964E-4, 1.0E-14, "jauLtpecl", "vec1"); + vvd(vec[1], -0.40522595330918754, 1.0E-14, "jauLtpecl", "vec2"); + vvd(vec[2], 0.9142164401096448, 1.0E-14, "jauLtpecl", "vec3"); + }); /** * @@ -4105,15 +3886,15 @@ export class TSOFATest { * Called: TSOFA.jauLtpequ, vvd * * This revision: 2016 March 12 - */ @Test() - public t_ltpequ() { + */ +test("t_ltpequ", () => { let epj: number; epj = -2500.0; const veq: number[] = TSOFA.jauLtpequ(epj); - this.vvd(veq[0], -0.35866525602373267, 1.0E-14, "jauLtpequ", "veq1"); - this.vvd(veq[1], -0.19969789107711286, 1.0E-14, "jauLtpequ", "veq2"); - this.vvd(veq[2], 0.911855244225082, 1.0E-14, "jauLtpequ", "veq3"); - } + vvd(veq[0], -0.35866525602373267, 1.0E-14, "jauLtpequ", "veq1"); + vvd(veq[1], -0.19969789107711286, 1.0E-14, "jauLtpequ", "veq2"); + vvd(veq[2], 0.911855244225082, 1.0E-14, "jauLtpequ", "veq3"); + }); /** * - - - - - - - - @@ -4128,8 +3909,8 @@ export class TSOFATest { * Called: iauAe2hd and vvd * * This revision: 2017 October 21 - */ @Test() - public t_ae2hd() { + */ +test("t_ae2hd", () => { let a: number; let e: number; let p: number; @@ -4137,11 +3918,10 @@ export class TSOFATest { e = 1.1; p = 0.7; const ec: TSOFA.EquatorialCoordinate = TSOFA.jauAe2hd(a, e, p); - this.vvd(ec.ha, 0.593329111550731, 1.0E-14, "jauAe2hd", "h"); - this.vvd(ec.dec, 0.9613934761647818, 1.0E-14, "jauAe2hd", "d"); - } - @Test() - public t_hd2ae() { + vvd(ec.ha, 0.593329111550731, 1.0E-14, "jauAe2hd", "h"); + vvd(ec.dec, 0.9613934761647818, 1.0E-14, "jauAe2hd", "d"); + }); +test("t_hd2ae", () => { let h: number; let d: number; let p: number; @@ -4149,9 +3929,9 @@ export class TSOFATest { d = 1.2; p = 0.3; const hc: TSOFA.HorizonCoordinate = TSOFA.jauHd2ae(h, d, p); - this.vvd(hc.az, 5.916889243730066, 1.0E-13, "jauHd2ae", "a"); - this.vvd(hc.el, 0.44721863049904864, 1.0E-14, "jauHd2ae", "e"); - } + vvd(hc.az, 5.916889243730066, 1.0E-13, "jauHd2ae", "a"); + vvd(hc.el, 0.44721863049904864, 1.0E-14, "jauHd2ae", "e"); + }); /** * - - - - - - - - @@ -4166,8 +3946,8 @@ export class TSOFATest { * Called: TSOFA.jauHd2pa and vvd * * This revision: 2017 October 21 - */ @Test() - public t_hd2pa() { + */ +test("t_hd2pa", () => { let h: number; let d: number; let p: number; @@ -4176,8 +3956,8 @@ export class TSOFATest { d = 1.2; p = 0.3; q = TSOFA.jauHd2pa(h, d, p); - this.vvd(q, 1.9062274280019955, 1.0E-13, "jauHd2pa", "q"); - } + vvd(q, 1.9062274280019955, 1.0E-13, "jauHd2pa", "q"); + }); /** * - - - - - - - - @@ -4192,8 +3972,8 @@ export class TSOFATest { * Called: TSOFA.jauTpors, vvd, viv * * This revision: 2017 October 21 - */ @Test() - public t_tpors() { + */ +test("t_tpors", () => { let xi: number; let eta: number; let ra: number; @@ -4203,14 +3983,13 @@ export class TSOFATest { ra = 1.3; dec = 1.5; const tps: TSOFA.TangentPointSolution = TSOFA.jauTpors(xi, eta, ra, dec); - this.vvd(tps.sol1.alpha, 1.7366215777832088, 1.0E-13, "jauTpors", "az1"); - this.vvd(tps.sol1.delta, 1.4367365618440904, 1.0E-13, "jauTpors", "bz1"); - this.vvd(tps.sol2.alpha, 4.004971075806584, 1.0E-13, "jauTpors", "az2"); - this.vvd(tps.sol2.delta, 1.565084088476418, 1.0E-13, "jauTpors", "bz2"); - this.viv(tps.nsolutions, 2, "jauTpors", "n"); - } - @Test() - public t_tporv() { + vvd(tps.sol1.alpha, 1.7366215777832088, 1.0E-13, "jauTpors", "az1"); + vvd(tps.sol1.delta, 1.4367365618440904, 1.0E-13, "jauTpors", "bz1"); + vvd(tps.sol2.alpha, 4.004971075806584, 1.0E-13, "jauTpors", "az2"); + vvd(tps.sol2.delta, 1.565084088476418, 1.0E-13, "jauTpors", "bz2"); + viv(tps.nsolutions, 2, "jauTpors", "n"); + }); +test("t_tporv", () => { let xi: number; let eta: number; let ra: number; @@ -4222,14 +4001,14 @@ export class TSOFATest { dec = 1.5; v = TSOFA.jauS2c(ra, dec); const tpc: TSOFA.TangentPointDirectionCosines = TSOFA.jauTporv(xi, eta, v); - this.vvd(tpc.dc1[0], -0.022062528223668887, 1.0E-15, "jauTporv", "x1"); - this.vvd(tpc.dc1[1], 0.1318251060359645, 1.0E-14, "jauTporv", "y1"); - this.vvd(tpc.dc1[2], 0.9910274397144544, 1.0E-14, "jauTporv", "z1"); - this.vvd(tpc.dc2[0], -0.0037122117638019683, 1.0E-16, "jauTporv", "x2"); - this.vvd(tpc.dc2[1], -0.0043415199562998365, 1.0E-16, "jauTporv", "y2"); - this.vvd(tpc.dc2[2], 0.9999836852110587, 1.0E-14, "jauTporv", "z2"); - this.viv(tpc.nsolution, 2, "jauTporv", "n"); - } + vvd(tpc.dc1[0], -0.022062528223668887, 1.0E-15, "jauTporv", "x1"); + vvd(tpc.dc1[1], 0.1318251060359645, 1.0E-14, "jauTporv", "y1"); + vvd(tpc.dc1[2], 0.9910274397144544, 1.0E-14, "jauTporv", "z1"); + vvd(tpc.dc2[0], -0.0037122117638019683, 1.0E-16, "jauTporv", "x2"); + vvd(tpc.dc2[1], -0.0043415199562998365, 1.0E-16, "jauTporv", "y2"); + vvd(tpc.dc2[2], 0.9999836852110587, 1.0E-14, "jauTporv", "z2"); + viv(tpc.nsolution, 2, "jauTporv", "n"); + }); /** * - - - - - - - - @@ -4244,8 +4023,8 @@ export class TSOFATest { * Called: TSOFA.jauTpsts, vvd * * This revision: 2017 October 21 - */ @Test() - public t_tpsts() { + */ +test("t_tpsts", () => { let xi: number; let eta: number; let raz: number; @@ -4255,9 +4034,9 @@ export class TSOFATest { raz = 2.3; decz = 1.5; const sc: TSOFA.SphericalCoordinate = TSOFA.jauTpsts(xi, eta, raz, decz); - this.vvd(sc.alpha, 0.759612716735963, 1.0E-14, "jauTpsts", "ra"); - this.vvd(sc.delta, 1.5408646451092631, 1.0E-13, "jauTpsts", "dec"); - } + vvd(sc.alpha, 0.759612716735963, 1.0E-14, "jauTpsts", "ra"); + vvd(sc.delta, 1.5408646451092631, 1.0E-13, "jauTpsts", "dec"); + }); /** * - - - - - - - - @@ -4272,8 +4051,8 @@ export class TSOFATest { * Called: TSOFA.jauTpstv, TSOFA.jauS2c, vvd * * This revision: 2017 October 21 - */ @Test() - public t_tpstv() { + */ +test("t_tpstv", () => { let xi: number; let eta: number; let raz: number; @@ -4286,12 +4065,11 @@ export class TSOFATest { decz = 1.5; vz = TSOFA.jauS2c(raz, decz); v = TSOFA.jauTpstv(xi, eta, vz); - this.vvd(v[0], 0.021700304549073766, 1.0E-15, "jauTpstv", "x"); - this.vvd(v[1], 0.020609095905353675, 1.0E-15, "jauTpstv", "y"); - this.vvd(v[2], 0.9995520806583523, 1.0E-14, "jauTpstv", "z"); - } - @Test() - public t_tpxes() { + vvd(v[0], 0.021700304549073766, 1.0E-15, "jauTpstv", "x"); + vvd(v[1], 0.020609095905353675, 1.0E-15, "jauTpstv", "y"); + vvd(v[2], 0.9995520806583523, 1.0E-14, "jauTpstv", "z"); + }); +test("t_tpxes", () => { let ra: number; let dec: number; let raz: number; @@ -4301,10 +4079,10 @@ export class TSOFATest { raz = 2.3; decz = 1.5; const tpc: TSOFA.TangentPlaneCoordinate = TSOFA.jauTpxes(ra, dec, raz, decz); - this.vvd(tpc.xi, -0.017532009832369806, 1.0E-15, "jauTpxes", "xi"); - this.vvd(tpc.eta, 0.05962940005778713, 1.0E-15, "jauTpxes", "eta"); - this.viv(tpc.status, 0, "jauTpxes", "j"); - } + vvd(tpc.xi, -0.017532009832369806, 1.0E-15, "jauTpxes", "xi"); + vvd(tpc.eta, 0.05962940005778713, 1.0E-15, "jauTpxes", "eta"); + viv(tpc.status, 0, "jauTpxes", "j"); + }); /** * - - - - - - - - @@ -4319,8 +4097,8 @@ export class TSOFATest { * Called: TSOFA.jauTpxev, TSOFA.jauS2c, vvd * * This revision: 2017 October 21 - */ @Test() - public t_tpxev() { + */ +test("t_tpxev", () => { let ra: number; let dec: number; let raz: number; @@ -4334,10 +4112,10 @@ export class TSOFATest { v = TSOFA.jauS2c(ra, dec); vz = TSOFA.jauS2c(raz, decz); const tpc: TSOFA.TangentPlaneCoordinate = TSOFA.jauTpxev(v, vz); - this.vvd(tpc.xi, -0.017532009832369806, 1.0E-15, "jauTpxev", "xi"); - this.vvd(tpc.eta, 0.05962940005778713, 1.0E-15, "jauTpxev", "eta"); - this.viv(tpc.status, 0, "jauTpxev", "j"); - } + vvd(tpc.xi, -0.017532009832369806, 1.0E-15, "jauTpxev", "xi"); + vvd(tpc.eta, 0.05962940005778713, 1.0E-15, "jauTpxev", "eta"); + viv(tpc.status, 0, "jauTpxev", "j"); + }); /** * - - - - - - - - @@ -4352,8 +4130,8 @@ export class TSOFATest { * Called: iauFk425, vvd * * This revision: 2018 December 6 - */ @Test() - public t_fk425() { + */ +test("t_fk425", () => { let r1950: number; let d1950: number; let dr1950: number; @@ -4367,13 +4145,13 @@ export class TSOFATest { p1950 = 0.134; v1950 = 8.7; const c: TSOFA.CatalogCoords = TSOFA.jauFk425(r1950, d1950, dr1950, dd1950, p1950, v1950); - this.vvd(c.pos.alpha, 0.08757989933556445, 1.0E-14, "iauFk425", "r2000"); - this.vvd(c.pos.delta, -1.132279113042092, 1.0E-12, "iauFk425", "d2000"); - this.vvd(c.pm.alpha, 1.953670614474396E-5, 1.0E-17, "iauFk425", "dr2000"); - this.vvd(c.pm.delta, 5.63768667865964E-6, 1.0E-18, "iauFk425", "dd2000"); - this.vvd(c.px, 0.13399199505827677, 1.0E-13, "iauFk425", "p2000"); - this.vvd(c.rv, 8.736999669183529, 1.0E-12, "iauFk425", "v2000"); - } + vvd(c.pos.alpha, 0.08757989933556445, 1.0E-14, "iauFk425", "r2000"); + vvd(c.pos.delta, -1.132279113042092, 1.0E-12, "iauFk425", "d2000"); + vvd(c.pm.alpha, 1.953670614474396E-5, 1.0E-17, "iauFk425", "dr2000"); + vvd(c.pm.delta, 5.63768667865964E-6, 1.0E-18, "iauFk425", "dd2000"); + vvd(c.px, 0.13399199505827677, 1.0E-13, "iauFk425", "p2000"); + vvd(c.rv, 8.736999669183529, 1.0E-12, "iauFk425", "v2000"); + }); /** * - - - - - - - - @@ -4388,8 +4166,8 @@ export class TSOFATest { * Called: iauFk45z, vvd * * This revision: 2018 December 6 - */ @Test() - public t_fk45z() { + */ +test("t_fk45z", () => { let r1950: number; let d1950: number; let bepoch: number; @@ -4397,9 +4175,9 @@ export class TSOFATest { d1950 = -0.1164347929099906; bepoch = 1954.6776176252567; const r: TSOFA.SphericalCoordinate = TSOFA.jauFk45z(r1950, d1950, bepoch); - this.vvd(r.alpha, 0.027192959116068623, 1.0E-15, "iauFk45z", "r2000"); - this.vvd(r.delta, -0.1115766001565927, 1.0E-13, "iauFk45z", "d2000"); - } + vvd(r.alpha, 0.027192959116068623, 1.0E-15, "iauFk45z", "r2000"); + vvd(r.delta, -0.1115766001565927, 1.0E-13, "iauFk45z", "d2000"); + }); /** * - - - - - - - - @@ -4414,8 +4192,8 @@ export class TSOFATest { * Called: iauFk524, vvd * * This revision: 2018 December 6 - */ @Test() - public t_fk524() { + */ +test("t_fk524", () => { let r2000: number; let d2000: number; let dr2000: number; @@ -4429,13 +4207,13 @@ export class TSOFATest { p2000 = 0.1559; v2000 = 86.87; const r: TSOFA.CatalogCoords = TSOFA.jauFk524(r2000, d2000, dr2000, dd2000, p2000, v2000); - this.vvd(r.pos.alpha, 0.8636359659799604, 1.0E-13, "iauFk524", "r1950"); - this.vvd(r.pos.delta, -0.7550281733160843, 1.0E-13, "iauFk524", "d1950"); - this.vvd(r.pm.alpha, 2.0236281927471725E-5, 1.0E-17, "iauFk524", "dr1950"); - this.vvd(r.pm.delta, 3.6244597549353345E-6, 1.0E-18, "iauFk524", "dd1950"); - this.vvd(r.px, 0.15600799632993903, 1.0E-13, "iauFk524", "p1950"); - this.vvd(r.rv, 86.79606353469164, 1.0E-11, "iauFk524", "v1950"); - } + vvd(r.pos.alpha, 0.8636359659799604, 1.0E-13, "iauFk524", "r1950"); + vvd(r.pos.delta, -0.7550281733160843, 1.0E-13, "iauFk524", "d1950"); + vvd(r.pm.alpha, 2.0236281927471725E-5, 1.0E-17, "iauFk524", "dr1950"); + vvd(r.pm.delta, 3.6244597549353345E-6, 1.0E-18, "iauFk524", "dd1950"); + vvd(r.px, 0.15600799632993903, 1.0E-13, "iauFk524", "p1950"); + vvd(r.rv, 86.79606353469164, 1.0E-11, "iauFk524", "v1950"); + }); /** * - - - - - - - - @@ -4450,8 +4228,8 @@ export class TSOFATest { * Called: iauFk54z, vvd * * This revision: 2018 December 6 - */ @Test() - public t_fk54z() { + */ +test("t_fk54z", () => { let r2000: number; let d2000: number; let bepoch: number; @@ -4459,13 +4237,13 @@ export class TSOFATest { d2000 = -0.11158151707387548; bepoch = 1954.6773081603164; const r: TSOFA.CatalogCoords = TSOFA.jauFk54z(r2000, d2000, bepoch); - this.vvd(r.pos.alpha, 0.016020155883900655, 1.0E-14, "iauFk54z", "r1950"); - this.vvd(r.pos.delta, -0.11643971011107654, 1.0E-13, "iauFk54z", "d1950"); - this.vvd(r.pm.alpha, -1.1757126484710908E-8, 1.0E-20, "iauFk54z", "dr1950"); - this.vvd(r.pm.delta, 2.108109051316431E-8, 1.0E-20, "iauFk54z", "dd1950"); - this.vvd(r.px, 0, 1.0E-13, "iauFk54z", "p1950"); - this.vvd(r.rv, 0, 1.0E-11, "iauFk54z", "v1950"); - } + vvd(r.pos.alpha, 0.016020155883900655, 1.0E-14, "iauFk54z", "r1950"); + vvd(r.pos.delta, -0.11643971011107654, 1.0E-13, "iauFk54z", "d1950"); + vvd(r.pm.alpha, -1.1757126484710908E-8, 1.0E-20, "iauFk54z", "dr1950"); + vvd(r.pm.delta, 2.108109051316431E-8, 1.0E-20, "iauFk54z", "dd1950"); + vvd(r.px, 0, 1.0E-13, "iauFk54z", "p1950"); + vvd(r.rv, 0, 1.0E-11, "iauFk54z", "v1950"); + }); /** * - - - - - - - - - @@ -4480,8 +4258,8 @@ export class TSOFATest { * Called: iauAtcc13, vvd * * This revision: 2021 April 18 - */ @Test() - public t_atcc13() { + */ +test("t_atcc13", () => { let rc: number; let dc: number; let pr: number; @@ -4499,9 +4277,9 @@ export class TSOFATest { date1 = 2456165.5; date2 = 0.401182685; const co: TSOFA.SphericalCoordinate = TSOFA.jauAtcc13(rc, dc, pr, pd, px, rv, date1, date2); - this.vvd(co.alpha, 2.7101265045313725, 1.0E-12, "iauAtcc13", "ra"); - this.vvd(co.delta, 0.17406325376283502, 1.0E-12, "iauAtcc13", "da"); - } + vvd(co.alpha, 2.7101265045313725, 1.0E-12, "iauAtcc13", "ra"); + vvd(co.delta, 0.17406325376283502, 1.0E-12, "iauAtcc13", "da"); + }); /** * - - - - - - - - @@ -4516,8 +4294,8 @@ export class TSOFATest { * Called: iauApcc13, iauAtccq, vvd * * This revision: 2021 April 18 - */ @Test() - public t_atccq() { + */ +test("t_atccq", () => { let date1: number; let date2: number; let eo: number; @@ -4538,9 +4316,9 @@ export class TSOFATest { px = 0.1; rv = 55.0; const co: TSOFA.SphericalCoordinate = TSOFA.jauAtccq(rc, dc, pr, pd, px, rv, astrom); - this.vvd(co.alpha, 2.7101265045313725, 1.0E-12, "iauAtccq", "ra"); - this.vvd(co.delta, 0.17406325376283502, 1.0E-12, "iauAtccq", "da"); - } + vvd(co.alpha, 2.7101265045313725, 1.0E-12, "iauAtccq", "ra"); + vvd(co.delta, 0.17406325376283502, 1.0E-12, "iauAtccq", "da"); + }); /** * - - - - - - - - - @@ -4555,17 +4333,17 @@ export class TSOFATest { * Called: iauMoon98, vvd, viv * * This revision: 2021 April 12 - */ @Test() - public t_moon98() { + */ +test("t_moon98", () => { const pv: number[][] = TSOFA.jauMoon98(2400000.5, 43999.9); - this.vvd(pv[0][0], -0.002601295959971044, 1.0E-11, "iauMoon98", "x 4"); - this.vvd(pv[0][1], 6.139750944302743E-4, 1.0E-11, "iauMoon98", "y 4"); - this.vvd(pv[0][2], 2.640794528229829E-4, 1.0E-11, "iauMoon98", "z 4"); - this.vvd(pv[1][0], -1.244321506649895E-4, 1.0E-11, "iauMoon98", "xd 4"); - this.vvd(pv[1][1], -5.219076942678119E-4, 1.0E-11, "iauMoon98", "yd 4"); - this.vvd(pv[1][2], -1.716132214378462E-4, 1.0E-11, "iauMoon98", "zd 4"); - } - } + vvd(pv[0][0], -0.002601295959971044, 1.0E-11, "iauMoon98", "x 4"); + vvd(pv[0][1], 6.139750944302743E-4, 1.0E-11, "iauMoon98", "y 4"); + vvd(pv[0][2], 2.640794528229829E-4, 1.0E-11, "iauMoon98", "z 4"); + vvd(pv[1][0], -1.244321506649895E-4, 1.0E-11, "iauMoon98", "xd 4"); + vvd(pv[1][1], -5.219076942678119E-4, 1.0E-11, "iauMoon98", "yd 4"); + vvd(pv[1][2], -1.716132214378462E-4, 1.0E-11, "iauMoon98", "zd 4"); + }); + diff --git a/testy.json b/testy.json deleted file mode 100644 index f57ddf8..0000000 --- a/testy.json +++ /dev/null @@ -1 +0,0 @@ -{"include":["src/test/**/*.spec.ts"]} \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json index 635df7b..76af634 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,7 +6,8 @@ "declaration": true, "sourceMap": true, "declarationMap": true, - "strict": true, + "esModuleInterop": true, + "strict": false, "moduleResolution": "Node", "experimentalDecorators": true, "outDir": "./dist" diff --git a/yarn.lock b/yarn.lock index 28ed18e..fe1b441 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7,6 +7,295 @@ resolved "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz" integrity sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA== +"@ampproject/remapping@^2.2.0": + version "2.3.0" + resolved "https://registry.yarnpkg.com/@ampproject/remapping/-/remapping-2.3.0.tgz#ed441b6fa600072520ce18b43d2c8cc8caecc7f4" + integrity sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw== + dependencies: + "@jridgewell/gen-mapping" "^0.3.5" + "@jridgewell/trace-mapping" "^0.3.24" + +"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.24.7.tgz#882fd9e09e8ee324e496bd040401c6f046ef4465" + integrity sha512-BcYH1CVJBO9tvyIZ2jVeXgSIMvGZ2FDRvDdOIVQyuklNKSsx+eppDEBq/g47Ayw+RqNFE+URvOShmf+f/qwAlA== + dependencies: + "@babel/highlight" "^7.24.7" + picocolors "^1.0.0" + +"@babel/compat-data@^7.25.2": + version "7.25.4" + resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.25.4.tgz#7d2a80ce229890edcf4cc259d4d696cb4dae2fcb" + integrity sha512-+LGRog6RAsCJrrrg/IO6LGmpphNe5DiK30dGjCoxxeGv49B10/3XYGxPsAwrDlMFcFEvdAUavDT8r9k/hSyQqQ== + +"@babel/core@^7.11.6", "@babel/core@^7.12.3", "@babel/core@^7.23.9": + version "7.25.2" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.25.2.tgz#ed8eec275118d7613e77a352894cd12ded8eba77" + integrity sha512-BBt3opiCOxUr9euZ5/ro/Xv8/V7yJ5bjYMqG/C1YAo8MIKAnumZalCN+msbci3Pigy4lIQfPUpfMM27HMGaYEA== + dependencies: + "@ampproject/remapping" "^2.2.0" + "@babel/code-frame" "^7.24.7" + "@babel/generator" "^7.25.0" + "@babel/helper-compilation-targets" "^7.25.2" + "@babel/helper-module-transforms" "^7.25.2" + "@babel/helpers" "^7.25.0" + "@babel/parser" "^7.25.0" + "@babel/template" "^7.25.0" + "@babel/traverse" "^7.25.2" + "@babel/types" "^7.25.2" + convert-source-map "^2.0.0" + debug "^4.1.0" + gensync "^1.0.0-beta.2" + json5 "^2.2.3" + semver "^6.3.1" + +"@babel/generator@^7.25.0", "@babel/generator@^7.25.6", "@babel/generator@^7.7.2": + version "7.25.6" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.25.6.tgz#0df1ad8cb32fe4d2b01d8bf437f153d19342a87c" + integrity sha512-VPC82gr1seXOpkjAAKoLhP50vx4vGNlF4msF64dSFq1P8RfB+QAuJWGHPXXPc8QyfVWwwB/TNNU4+ayZmHNbZw== + dependencies: + "@babel/types" "^7.25.6" + "@jridgewell/gen-mapping" "^0.3.5" + "@jridgewell/trace-mapping" "^0.3.25" + jsesc "^2.5.1" + +"@babel/helper-compilation-targets@^7.25.2": + version "7.25.2" + resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.25.2.tgz#e1d9410a90974a3a5a66e84ff55ef62e3c02d06c" + integrity sha512-U2U5LsSaZ7TAt3cfaymQ8WHh0pxvdHoEk6HVpaexxixjyEquMh0L0YNJNM6CTGKMXV1iksi0iZkGw4AcFkPaaw== + dependencies: + "@babel/compat-data" "^7.25.2" + "@babel/helper-validator-option" "^7.24.8" + browserslist "^4.23.1" + lru-cache "^5.1.1" + semver "^6.3.1" + +"@babel/helper-module-imports@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.24.7.tgz#f2f980392de5b84c3328fc71d38bd81bbb83042b" + integrity sha512-8AyH3C+74cgCVVXow/myrynrAGv+nTVg5vKu2nZph9x7RcRwzmh0VFallJuFTZ9mx6u4eSdXZfcOzSqTUm0HCA== + dependencies: + "@babel/traverse" "^7.24.7" + "@babel/types" "^7.24.7" + +"@babel/helper-module-transforms@^7.25.2": + version "7.25.2" + resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.25.2.tgz#ee713c29768100f2776edf04d4eb23b8d27a66e6" + integrity sha512-BjyRAbix6j/wv83ftcVJmBt72QtHI56C7JXZoG2xATiLpmoC7dpd8WnkikExHDVPpi/3qCmO6WY1EaXOluiecQ== + dependencies: + "@babel/helper-module-imports" "^7.24.7" + "@babel/helper-simple-access" "^7.24.7" + "@babel/helper-validator-identifier" "^7.24.7" + "@babel/traverse" "^7.25.2" + +"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.24.7", "@babel/helper-plugin-utils@^7.24.8", "@babel/helper-plugin-utils@^7.8.0": + version "7.24.8" + resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.24.8.tgz#94ee67e8ec0e5d44ea7baeb51e571bd26af07878" + integrity sha512-FFWx5142D8h2Mgr/iPVGH5G7w6jDn4jUSpZTyDnQO0Yn7Ks2Kuz6Pci8H6MPCoUJegd/UZQ3tAvfLCxQSnWWwg== + +"@babel/helper-simple-access@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.24.7.tgz#bcade8da3aec8ed16b9c4953b74e506b51b5edb3" + integrity sha512-zBAIvbCMh5Ts+b86r/CjU+4XGYIs+R1j951gxI3KmmxBMhCg4oQMsv6ZXQ64XOm/cvzfU1FmoCyt6+owc5QMYg== + dependencies: + "@babel/traverse" "^7.24.7" + "@babel/types" "^7.24.7" + +"@babel/helper-string-parser@^7.24.8": + version "7.24.8" + resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.24.8.tgz#5b3329c9a58803d5df425e5785865881a81ca48d" + integrity sha512-pO9KhhRcuUyGnJWwyEgnRJTSIZHiT+vMD0kPeD+so0l7mxkMT19g3pjY9GTnHySck/hDzq+dtW/4VgnMkippsQ== + +"@babel/helper-validator-identifier@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.24.7.tgz#75b889cfaf9e35c2aaf42cf0d72c8e91719251db" + integrity sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w== + +"@babel/helper-validator-option@^7.24.8": + version "7.24.8" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.24.8.tgz#3725cdeea8b480e86d34df15304806a06975e33d" + integrity sha512-xb8t9tD1MHLungh/AIoWYN+gVHaB9kwlu8gffXGSt3FFEIT7RjS+xWbc2vUD1UTZdIpKj/ab3rdqJ7ufngyi2Q== + +"@babel/helpers@^7.25.0": + version "7.25.6" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.25.6.tgz#57ee60141829ba2e102f30711ffe3afab357cc60" + integrity sha512-Xg0tn4HcfTijTwfDwYlvVCl43V6h4KyVVX2aEm4qdO/PC6L2YvzLHFdmxhoeSA3eslcE6+ZVXHgWwopXYLNq4Q== + dependencies: + "@babel/template" "^7.25.0" + "@babel/types" "^7.25.6" + +"@babel/highlight@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.24.7.tgz#a05ab1df134b286558aae0ed41e6c5f731bf409d" + integrity sha512-EStJpq4OuY8xYfhGVXngigBJRWxftKX9ksiGDnmlY3o7B/V7KIAc9X4oiK87uPJSc/vs5L869bem5fhZa8caZw== + dependencies: + "@babel/helper-validator-identifier" "^7.24.7" + chalk "^2.4.2" + js-tokens "^4.0.0" + picocolors "^1.0.0" + +"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.20.7", "@babel/parser@^7.23.9", "@babel/parser@^7.25.0", "@babel/parser@^7.25.6": + version "7.25.6" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.25.6.tgz#85660c5ef388cbbf6e3d2a694ee97a38f18afe2f" + integrity sha512-trGdfBdbD0l1ZPmcJ83eNxB9rbEax4ALFTF7fN386TMYbeCQbyme5cOEXQhbGXKebwGaB/J52w1mrklMcbgy6Q== + dependencies: + "@babel/types" "^7.25.6" + +"@babel/plugin-syntax-async-generators@^7.8.4": + version "7.8.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz#a983fb1aeb2ec3f6ed042a210f640e90e786fe0d" + integrity sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-bigint@^7.8.3": + version "7.8.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz#4c9a6f669f5d0cdf1b90a1671e9a146be5300cea" + integrity sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-class-properties@^7.12.13": + version "7.12.13" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz#b5c987274c4a3a82b89714796931a6b53544ae10" + integrity sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA== + dependencies: + "@babel/helper-plugin-utils" "^7.12.13" + +"@babel/plugin-syntax-class-static-block@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz#195df89b146b4b78b3bf897fd7a257c84659d406" + integrity sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw== + dependencies: + "@babel/helper-plugin-utils" "^7.14.5" + +"@babel/plugin-syntax-import-attributes@^7.24.7": + version "7.25.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.25.6.tgz#6d4c78f042db0e82fd6436cd65fec5dc78ad2bde" + integrity sha512-sXaDXaJN9SNLymBdlWFA+bjzBhFD617ZaFiY13dGt7TVslVvVgA6fkZOP7Ki3IGElC45lwHdOTrCtKZGVAWeLQ== + dependencies: + "@babel/helper-plugin-utils" "^7.24.8" + +"@babel/plugin-syntax-import-meta@^7.10.4": + version "7.10.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz#ee601348c370fa334d2207be158777496521fd51" + integrity sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + +"@babel/plugin-syntax-json-strings@^7.8.3": + version "7.8.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz#01ca21b668cd8218c9e640cb6dd88c5412b2c96a" + integrity sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-jsx@^7.7.2": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.24.7.tgz#39a1fa4a7e3d3d7f34e2acc6be585b718d30e02d" + integrity sha512-6ddciUPe/mpMnOKv/U+RSd2vvVy+Yw/JfBB0ZHYjEZt9NLHmCUylNYlsbqCCS1Bffjlb0fCwC9Vqz+sBz6PsiQ== + dependencies: + "@babel/helper-plugin-utils" "^7.24.7" + +"@babel/plugin-syntax-logical-assignment-operators@^7.10.4": + version "7.10.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz#ca91ef46303530448b906652bac2e9fe9941f699" + integrity sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + +"@babel/plugin-syntax-nullish-coalescing-operator@^7.8.3": + version "7.8.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz#167ed70368886081f74b5c36c65a88c03b66d1a9" + integrity sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-numeric-separator@^7.10.4": + version "7.10.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz#b9b070b3e33570cd9fd07ba7fa91c0dd37b9af97" + integrity sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + +"@babel/plugin-syntax-object-rest-spread@^7.8.3": + version "7.8.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz#60e225edcbd98a640332a2e72dd3e66f1af55871" + integrity sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-optional-catch-binding@^7.8.3": + version "7.8.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz#6111a265bcfb020eb9efd0fdfd7d26402b9ed6c1" + integrity sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-optional-chaining@^7.8.3": + version "7.8.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz#4f69c2ab95167e0180cd5336613f8c5788f7d48a" + integrity sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-private-property-in-object@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz#0dc6671ec0ea22b6e94a1114f857970cd39de1ad" + integrity sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg== + dependencies: + "@babel/helper-plugin-utils" "^7.14.5" + +"@babel/plugin-syntax-top-level-await@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz#c1cfdadc35a646240001f06138247b741c34d94c" + integrity sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw== + dependencies: + "@babel/helper-plugin-utils" "^7.14.5" + +"@babel/plugin-syntax-typescript@^7.7.2": + version "7.25.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.25.4.tgz#04db9ce5a9043d9c635e75ae7969a2cd50ca97ff" + integrity sha512-uMOCoHVU52BsSWxPOMVv5qKRdeSlPuImUCB2dlPuBSU+W2/ROE7/Zg8F2Kepbk+8yBa68LlRKxO+xgEVWorsDg== + dependencies: + "@babel/helper-plugin-utils" "^7.24.8" + +"@babel/template@^7.25.0", "@babel/template@^7.3.3": + version "7.25.0" + resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.25.0.tgz#e733dc3134b4fede528c15bc95e89cb98c52592a" + integrity sha512-aOOgh1/5XzKvg1jvVz7AVrx2piJ2XBi227DHmbY6y+bM9H2FlN+IfecYu4Xl0cNiiVejlsCri89LUsbj8vJD9Q== + dependencies: + "@babel/code-frame" "^7.24.7" + "@babel/parser" "^7.25.0" + "@babel/types" "^7.25.0" + +"@babel/traverse@^7.24.7", "@babel/traverse@^7.25.2": + version "7.25.6" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.25.6.tgz#04fad980e444f182ecf1520504941940a90fea41" + integrity sha512-9Vrcx5ZW6UwK5tvqsj0nGpp/XzqthkT0dqIc9g1AdtygFToNtTF67XzYS//dm+SAK9cp3B9R4ZO/46p63SCjlQ== + dependencies: + "@babel/code-frame" "^7.24.7" + "@babel/generator" "^7.25.6" + "@babel/parser" "^7.25.6" + "@babel/template" "^7.25.0" + "@babel/types" "^7.25.6" + debug "^4.3.1" + globals "^11.1.0" + +"@babel/types@^7.0.0", "@babel/types@^7.20.7", "@babel/types@^7.24.7", "@babel/types@^7.25.0", "@babel/types@^7.25.2", "@babel/types@^7.25.6", "@babel/types@^7.3.3": + version "7.25.6" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.25.6.tgz#893942ddb858f32ae7a004ec9d3a76b3463ef8e6" + integrity sha512-/l42B1qxpG6RdfYf343Uw1vmDjeNhneUXtzhojE7pDgfpEypmRhI6j1kr17XCVv4Cgl9HdAiQY2x0GwKm7rWCw== + dependencies: + "@babel/helper-string-parser" "^7.24.8" + "@babel/helper-validator-identifier" "^7.24.7" + to-fast-properties "^2.0.0" + +"@bcoe/v8-coverage@^0.2.3": + version "0.2.3" + resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" + integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== + "@cspotcode/source-map-support@^0.8.0": version "0.8.1" resolved "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz" @@ -84,16 +373,248 @@ resolved "https://registry.yarnpkg.com/@humanwhocodes/retry/-/retry-0.3.0.tgz#6d86b8cb322660f03d3f0aa94b99bdd8e172d570" integrity sha512-d2CGZR2o7fS6sWB7DG/3a95bGKQyHMACZ5aW8qGkkqQpUoZV6C0X7Pc7l4ZNMZkfNBf4VWNe9E1jRsf0G146Ew== +"@istanbuljs/load-nyc-config@^1.0.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz#fd3db1d59ecf7cf121e80650bb86712f9b55eced" + integrity sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ== + dependencies: + camelcase "^5.3.1" + find-up "^4.1.0" + get-package-type "^0.1.0" + js-yaml "^3.13.1" + resolve-from "^5.0.0" + +"@istanbuljs/schema@^0.1.2", "@istanbuljs/schema@^0.1.3": + version "0.1.3" + resolved "https://registry.yarnpkg.com/@istanbuljs/schema/-/schema-0.1.3.tgz#e45e384e4b8ec16bce2fd903af78450f6bf7ec98" + integrity sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA== + +"@jest/console@^29.7.0": + version "29.7.0" + resolved "https://registry.yarnpkg.com/@jest/console/-/console-29.7.0.tgz#cd4822dbdb84529265c5a2bdb529a3c9cc950ffc" + integrity sha512-5Ni4CU7XHQi32IJ398EEP4RrB8eV09sXP2ROqD4bksHrnTree52PsxvX8tpL8LvTZ3pFzXyPbNQReSN41CAhOg== + dependencies: + "@jest/types" "^29.6.3" + "@types/node" "*" + chalk "^4.0.0" + jest-message-util "^29.7.0" + jest-util "^29.7.0" + slash "^3.0.0" + +"@jest/core@^29.7.0": + version "29.7.0" + resolved "https://registry.yarnpkg.com/@jest/core/-/core-29.7.0.tgz#b6cccc239f30ff36609658c5a5e2291757ce448f" + integrity sha512-n7aeXWKMnGtDA48y8TLWJPJmLmmZ642Ceo78cYWEpiD7FzDgmNDV/GCVRorPABdXLJZ/9wzzgZAlHjXjxDHGsg== + dependencies: + "@jest/console" "^29.7.0" + "@jest/reporters" "^29.7.0" + "@jest/test-result" "^29.7.0" + "@jest/transform" "^29.7.0" + "@jest/types" "^29.6.3" + "@types/node" "*" + ansi-escapes "^4.2.1" + chalk "^4.0.0" + ci-info "^3.2.0" + exit "^0.1.2" + graceful-fs "^4.2.9" + jest-changed-files "^29.7.0" + jest-config "^29.7.0" + jest-haste-map "^29.7.0" + jest-message-util "^29.7.0" + jest-regex-util "^29.6.3" + jest-resolve "^29.7.0" + jest-resolve-dependencies "^29.7.0" + jest-runner "^29.7.0" + jest-runtime "^29.7.0" + jest-snapshot "^29.7.0" + jest-util "^29.7.0" + jest-validate "^29.7.0" + jest-watcher "^29.7.0" + micromatch "^4.0.4" + pretty-format "^29.7.0" + slash "^3.0.0" + strip-ansi "^6.0.0" + +"@jest/environment@^29.7.0": + version "29.7.0" + resolved "https://registry.yarnpkg.com/@jest/environment/-/environment-29.7.0.tgz#24d61f54ff1f786f3cd4073b4b94416383baf2a7" + integrity sha512-aQIfHDq33ExsN4jP1NWGXhxgQ/wixs60gDiKO+XVMd8Mn0NWPWgc34ZQDTb2jKaUWQ7MuwoitXAsN2XVXNMpAw== + dependencies: + "@jest/fake-timers" "^29.7.0" + "@jest/types" "^29.6.3" + "@types/node" "*" + jest-mock "^29.7.0" + +"@jest/expect-utils@^29.7.0": + version "29.7.0" + resolved "https://registry.yarnpkg.com/@jest/expect-utils/-/expect-utils-29.7.0.tgz#023efe5d26a8a70f21677d0a1afc0f0a44e3a1c6" + integrity sha512-GlsNBWiFQFCVi9QVSx7f5AgMeLxe9YCCs5PuP2O2LdjDAA8Jh9eX7lA1Jq/xdXw3Wb3hyvlFNfZIfcRetSzYcA== + dependencies: + jest-get-type "^29.6.3" + +"@jest/expect@^29.7.0": + version "29.7.0" + resolved "https://registry.yarnpkg.com/@jest/expect/-/expect-29.7.0.tgz#76a3edb0cb753b70dfbfe23283510d3d45432bf2" + integrity sha512-8uMeAMycttpva3P1lBHB8VciS9V0XAr3GymPpipdyQXbBcuhkLQOSe8E/p92RyAdToS6ZD1tFkX+CkhoECE0dQ== + dependencies: + expect "^29.7.0" + jest-snapshot "^29.7.0" + +"@jest/fake-timers@^29.7.0": + version "29.7.0" + resolved "https://registry.yarnpkg.com/@jest/fake-timers/-/fake-timers-29.7.0.tgz#fd91bf1fffb16d7d0d24a426ab1a47a49881a565" + integrity sha512-q4DH1Ha4TTFPdxLsqDXK1d3+ioSL7yL5oCMJZgDYm6i+6CygW5E5xVr/D1HdsGxjt1ZWSfUAs9OxSB/BNelWrQ== + dependencies: + "@jest/types" "^29.6.3" + "@sinonjs/fake-timers" "^10.0.2" + "@types/node" "*" + jest-message-util "^29.7.0" + jest-mock "^29.7.0" + jest-util "^29.7.0" + +"@jest/globals@^29.7.0": + version "29.7.0" + resolved "https://registry.yarnpkg.com/@jest/globals/-/globals-29.7.0.tgz#8d9290f9ec47ff772607fa864ca1d5a2efae1d4d" + integrity sha512-mpiz3dutLbkW2MNFubUGUEVLkTGiqW6yLVTA+JbP6fI6J5iL9Y0Nlg8k95pcF8ctKwCS7WVxteBs29hhfAotzQ== + dependencies: + "@jest/environment" "^29.7.0" + "@jest/expect" "^29.7.0" + "@jest/types" "^29.6.3" + jest-mock "^29.7.0" + +"@jest/reporters@^29.7.0": + version "29.7.0" + resolved "https://registry.yarnpkg.com/@jest/reporters/-/reporters-29.7.0.tgz#04b262ecb3b8faa83b0b3d321623972393e8f4c7" + integrity sha512-DApq0KJbJOEzAFYjHADNNxAE3KbhxQB1y5Kplb5Waqw6zVbuWatSnMjE5gs8FUgEPmNsnZA3NCWl9NG0ia04Pg== + dependencies: + "@bcoe/v8-coverage" "^0.2.3" + "@jest/console" "^29.7.0" + "@jest/test-result" "^29.7.0" + "@jest/transform" "^29.7.0" + "@jest/types" "^29.6.3" + "@jridgewell/trace-mapping" "^0.3.18" + "@types/node" "*" + chalk "^4.0.0" + collect-v8-coverage "^1.0.0" + exit "^0.1.2" + glob "^7.1.3" + graceful-fs "^4.2.9" + istanbul-lib-coverage "^3.0.0" + istanbul-lib-instrument "^6.0.0" + istanbul-lib-report "^3.0.0" + istanbul-lib-source-maps "^4.0.0" + istanbul-reports "^3.1.3" + jest-message-util "^29.7.0" + jest-util "^29.7.0" + jest-worker "^29.7.0" + slash "^3.0.0" + string-length "^4.0.1" + strip-ansi "^6.0.0" + v8-to-istanbul "^9.0.1" + +"@jest/schemas@^29.6.3": + version "29.6.3" + resolved "https://registry.yarnpkg.com/@jest/schemas/-/schemas-29.6.3.tgz#430b5ce8a4e0044a7e3819663305a7b3091c8e03" + integrity sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA== + dependencies: + "@sinclair/typebox" "^0.27.8" + +"@jest/source-map@^29.6.3": + version "29.6.3" + resolved "https://registry.yarnpkg.com/@jest/source-map/-/source-map-29.6.3.tgz#d90ba772095cf37a34a5eb9413f1b562a08554c4" + integrity sha512-MHjT95QuipcPrpLM+8JMSzFx6eHp5Bm+4XeFDJlwsvVBjmKNiIAvasGK2fxz2WbGRlnvqehFbh07MMa7n3YJnw== + dependencies: + "@jridgewell/trace-mapping" "^0.3.18" + callsites "^3.0.0" + graceful-fs "^4.2.9" + +"@jest/test-result@^29.7.0": + version "29.7.0" + resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-29.7.0.tgz#8db9a80aa1a097bb2262572686734baed9b1657c" + integrity sha512-Fdx+tv6x1zlkJPcWXmMDAG2HBnaR9XPSd5aDWQVsfrZmLVT3lU1cwyxLgRmXR9yrq4NBoEm9BMsfgFzTQAbJYA== + dependencies: + "@jest/console" "^29.7.0" + "@jest/types" "^29.6.3" + "@types/istanbul-lib-coverage" "^2.0.0" + collect-v8-coverage "^1.0.0" + +"@jest/test-sequencer@^29.7.0": + version "29.7.0" + resolved "https://registry.yarnpkg.com/@jest/test-sequencer/-/test-sequencer-29.7.0.tgz#6cef977ce1d39834a3aea887a1726628a6f072ce" + integrity sha512-GQwJ5WZVrKnOJuiYiAF52UNUJXgTZx1NHjFSEB0qEMmSZKAkdMoIzw/Cj6x6NF4AvV23AUqDpFzQkN/eYCYTxw== + dependencies: + "@jest/test-result" "^29.7.0" + graceful-fs "^4.2.9" + jest-haste-map "^29.7.0" + slash "^3.0.0" + +"@jest/transform@^29.7.0": + version "29.7.0" + resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-29.7.0.tgz#df2dd9c346c7d7768b8a06639994640c642e284c" + integrity sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw== + dependencies: + "@babel/core" "^7.11.6" + "@jest/types" "^29.6.3" + "@jridgewell/trace-mapping" "^0.3.18" + babel-plugin-istanbul "^6.1.1" + chalk "^4.0.0" + convert-source-map "^2.0.0" + fast-json-stable-stringify "^2.1.0" + graceful-fs "^4.2.9" + jest-haste-map "^29.7.0" + jest-regex-util "^29.6.3" + jest-util "^29.7.0" + micromatch "^4.0.4" + pirates "^4.0.4" + slash "^3.0.0" + write-file-atomic "^4.0.2" + +"@jest/types@^29.6.3": + version "29.6.3" + resolved "https://registry.yarnpkg.com/@jest/types/-/types-29.6.3.tgz#1131f8cf634e7e84c5e77bab12f052af585fba59" + integrity sha512-u3UPsIilWKOM3F9CXtrG8LEJmNxwoCQC/XVj4IKYXvvpx7QIi/Kg1LI5uDmDpKlac62NUtX7eLjRh+jVZcLOzw== + dependencies: + "@jest/schemas" "^29.6.3" + "@types/istanbul-lib-coverage" "^2.0.0" + "@types/istanbul-reports" "^3.0.0" + "@types/node" "*" + "@types/yargs" "^17.0.8" + chalk "^4.0.0" + +"@jridgewell/gen-mapping@^0.3.5": + version "0.3.5" + resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz#dcce6aff74bdf6dad1a95802b69b04a2fcb1fb36" + integrity sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg== + dependencies: + "@jridgewell/set-array" "^1.2.1" + "@jridgewell/sourcemap-codec" "^1.4.10" + "@jridgewell/trace-mapping" "^0.3.24" + "@jridgewell/resolve-uri@^3.0.3": version "3.1.1" resolved "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz" integrity sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA== +"@jridgewell/resolve-uri@^3.1.0": + version "3.1.2" + resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz#7a0ee601f60f99a20c7c7c5ff0c80388c1189bd6" + integrity sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw== + +"@jridgewell/set-array@^1.2.1": + version "1.2.1" + resolved "https://registry.yarnpkg.com/@jridgewell/set-array/-/set-array-1.2.1.tgz#558fb6472ed16a4c850b889530e6b36438c49280" + integrity sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A== + "@jridgewell/sourcemap-codec@^1.4.10": version "1.4.15" resolved "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz" integrity sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg== +"@jridgewell/sourcemap-codec@^1.4.14": + version "1.5.0" + resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz#3188bcb273a414b0d215fd22a58540b989b9409a" + integrity sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ== + "@jridgewell/trace-mapping@0.3.9": version "0.3.9" resolved "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz" @@ -102,6 +623,14 @@ "@jridgewell/resolve-uri" "^3.0.3" "@jridgewell/sourcemap-codec" "^1.4.10" +"@jridgewell/trace-mapping@^0.3.12", "@jridgewell/trace-mapping@^0.3.18", "@jridgewell/trace-mapping@^0.3.24", "@jridgewell/trace-mapping@^0.3.25": + version "0.3.25" + resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz#15f190e98895f3fc23276ee14bc76b675c2e50f0" + integrity sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ== + dependencies: + "@jridgewell/resolve-uri" "^3.1.0" + "@jridgewell/sourcemap-codec" "^1.4.14" + "@nodelib/fs.scandir@2.1.5": version "2.1.5" resolved "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz" @@ -123,6 +652,25 @@ "@nodelib/fs.scandir" "2.1.5" fastq "^1.6.0" +"@sinclair/typebox@^0.27.8": + version "0.27.8" + resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.27.8.tgz#6667fac16c436b5434a387a34dedb013198f6e6e" + integrity sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA== + +"@sinonjs/commons@^3.0.0": + version "3.0.1" + resolved "https://registry.yarnpkg.com/@sinonjs/commons/-/commons-3.0.1.tgz#1029357e44ca901a615585f6d27738dbc89084cd" + integrity sha512-K3mCHKQ9sVh8o1C9cxkwxaOmXoAMlDxC1mYyHrjqOWEcBjYr76t96zL2zlj5dUGZ3HSw240X1qgH3Mjf1yJWpQ== + dependencies: + type-detect "4.0.8" + +"@sinonjs/fake-timers@^10.0.2": + version "10.3.0" + resolved "https://registry.yarnpkg.com/@sinonjs/fake-timers/-/fake-timers-10.3.0.tgz#55fdff1ecab9f354019129daf4df0dd4d923ea66" + integrity sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA== + dependencies: + "@sinonjs/commons" "^3.0.0" + "@tsconfig/node10@^1.0.7": version "1.0.9" resolved "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.9.tgz" @@ -143,6 +691,65 @@ resolved "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.4.tgz" integrity sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA== +"@types/babel__core@^7.1.14": + version "7.20.5" + resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.20.5.tgz#3df15f27ba85319caa07ba08d0721889bb39c017" + integrity sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA== + dependencies: + "@babel/parser" "^7.20.7" + "@babel/types" "^7.20.7" + "@types/babel__generator" "*" + "@types/babel__template" "*" + "@types/babel__traverse" "*" + +"@types/babel__generator@*": + version "7.6.8" + resolved "https://registry.yarnpkg.com/@types/babel__generator/-/babel__generator-7.6.8.tgz#f836c61f48b1346e7d2b0d93c6dacc5b9535d3ab" + integrity sha512-ASsj+tpEDsEiFr1arWrlN6V3mdfjRMZt6LtK/Vp/kreFLnr5QH5+DhvD5nINYZXzwJvXeGq+05iUXcAzVrqWtw== + dependencies: + "@babel/types" "^7.0.0" + +"@types/babel__template@*": + version "7.4.4" + resolved "https://registry.yarnpkg.com/@types/babel__template/-/babel__template-7.4.4.tgz#5672513701c1b2199bc6dad636a9d7491586766f" + integrity sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A== + dependencies: + "@babel/parser" "^7.1.0" + "@babel/types" "^7.0.0" + +"@types/babel__traverse@*", "@types/babel__traverse@^7.0.6": + version "7.20.6" + resolved "https://registry.yarnpkg.com/@types/babel__traverse/-/babel__traverse-7.20.6.tgz#8dc9f0ae0f202c08d8d4dab648912c8d6038e3f7" + integrity sha512-r1bzfrm0tomOI8g1SzvCaQHo6Lcv6zu0EA+W2kHrt8dyrHQxGzBBL4kdkzIS+jBMV+EYcMAEAqXqYaLJq5rOZg== + dependencies: + "@babel/types" "^7.20.7" + +"@types/graceful-fs@^4.1.3": + version "4.1.9" + resolved "https://registry.yarnpkg.com/@types/graceful-fs/-/graceful-fs-4.1.9.tgz#2a06bc0f68a20ab37b3e36aa238be6abdf49e8b4" + integrity sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ== + dependencies: + "@types/node" "*" + +"@types/istanbul-lib-coverage@*", "@types/istanbul-lib-coverage@^2.0.0", "@types/istanbul-lib-coverage@^2.0.1": + version "2.0.6" + resolved "https://registry.yarnpkg.com/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.6.tgz#7739c232a1fee9b4d3ce8985f314c0c6d33549d7" + integrity sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w== + +"@types/istanbul-lib-report@*": + version "3.0.3" + resolved "https://registry.yarnpkg.com/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.3.tgz#53047614ae72e19fc0401d872de3ae2b4ce350bf" + integrity sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA== + dependencies: + "@types/istanbul-lib-coverage" "*" + +"@types/istanbul-reports@^3.0.0": + version "3.0.4" + resolved "https://registry.yarnpkg.com/@types/istanbul-reports/-/istanbul-reports-3.0.4.tgz#0f03e3d2f670fbdac586e34b433783070cc16f54" + integrity sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ== + dependencies: + "@types/istanbul-lib-report" "*" + "@types/json-schema@^7.0.12": version "7.0.13" resolved "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.13.tgz" @@ -153,6 +760,13 @@ resolved "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz" integrity sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ== +"@types/node@*": + version "22.7.0" + resolved "https://registry.yarnpkg.com/@types/node/-/node-22.7.0.tgz#670aa1874bc836863e5c116f9f2c32416ff27e1f" + integrity sha512-MOdOibwBs6KW1vfqz2uKMlxq5xAfAZ98SZjO8e3XnAbFnTJtAspqhWk7hrdSAs9/Y14ZWMiy7/MxMUzAOadYEw== + dependencies: + undici-types "~6.19.2" + "@types/node@^20.7.1": version "20.7.1" resolved "https://registry.npmjs.org/@types/node/-/node-20.7.1.tgz" @@ -163,6 +777,23 @@ resolved "https://registry.npmjs.org/@types/semver/-/semver-7.5.3.tgz" integrity sha512-OxepLK9EuNEIPxWNME+C6WwbRAOOI2o2BaQEGzz5Lu2e4Z5eDnEo+/aVEDMIXywoJitJ7xWd641wrGLZdtwRyw== +"@types/stack-utils@^2.0.0": + version "2.0.3" + resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-2.0.3.tgz#6209321eb2c1712a7e7466422b8cb1fc0d9dd5d8" + integrity sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw== + +"@types/yargs-parser@*": + version "21.0.3" + resolved "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-21.0.3.tgz#815e30b786d2e8f0dcd85fd5bcf5e1a04d008f15" + integrity sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ== + +"@types/yargs@^17.0.8": + version "17.0.33" + resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-17.0.33.tgz#8c32303da83eec050a84b3c7ae7b9f922d13e32d" + integrity sha512-WpxBCKWPLr4xSsHgz511rFJAM+wS28w2zEO1QDNY5zM/S8ok70NNfztH0xwhqKyaK0OHCbN98LDAZuy1ctxDkA== + dependencies: + "@types/yargs-parser" "*" + "@typescript-eslint/eslint-plugin@8.3.0": version "8.3.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.3.0.tgz#726627fad16d41d20539637efee8c2329fe6be32" @@ -360,6 +991,13 @@ ajv@^6.12.4: json-schema-traverse "^0.4.1" uri-js "^4.2.2" +ansi-escapes@^4.2.1: + version "4.3.2" + resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-4.3.2.tgz#6b2291d1db7d98b6521d5f1efa42d0f3a9feb65e" + integrity sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ== + dependencies: + type-fest "^0.21.3" + ansi-regex@^5.0.1: version "5.0.1" resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz" @@ -370,13 +1008,33 @@ ansi-sequence-parser@^1.1.0: resolved "https://registry.npmjs.org/ansi-sequence-parser/-/ansi-sequence-parser-1.1.1.tgz" integrity sha512-vJXt3yiaUL4UU546s3rPXlsry/RnM730G1+HkpKE012AN0sx1eOrxSu95oKDIonskeLTijMgqWZ3uDEe3NFvyg== -ansi-styles@^4.1.0: +ansi-styles@^3.2.1: + version "3.2.1" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" + integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== + dependencies: + color-convert "^1.9.0" + +ansi-styles@^4.0.0, ansi-styles@^4.1.0: version "4.3.0" resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz" integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== dependencies: color-convert "^2.0.1" +ansi-styles@^5.0.0: + version "5.2.0" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-5.2.0.tgz#07449690ad45777d1924ac2abb2fc8895dba836b" + integrity sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA== + +anymatch@^3.0.3: + version "3.1.3" + resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.3.tgz#790c58b19ba1720a84205b57c618d5ad8524973e" + integrity sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw== + dependencies: + normalize-path "^3.0.0" + picomatch "^2.0.4" + are-docs-informative@^0.0.2: version "0.0.2" resolved "https://registry.npmjs.org/are-docs-informative/-/are-docs-informative-0.0.2.tgz" @@ -387,6 +1045,13 @@ arg@^4.1.0: resolved "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz" integrity sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA== +argparse@^1.0.7: + version "1.0.10" + resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911" + integrity sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg== + dependencies: + sprintf-js "~1.0.2" + argparse@^2.0.1: version "2.0.1" resolved "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz" @@ -460,16 +1125,79 @@ arraybuffer.prototype.slice@^1.0.2: is-array-buffer "^3.0.2" is-shared-array-buffer "^1.0.2" -arrify@^1.0.0: - version "1.0.1" - resolved "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz" - integrity sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA== +async@^3.2.3: + version "3.2.6" + resolved "https://registry.yarnpkg.com/async/-/async-3.2.6.tgz#1b0728e14929d51b85b449b7f06e27c1145e38ce" + integrity sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA== available-typed-arrays@^1.0.5: version "1.0.5" resolved "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz" integrity sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw== +babel-jest@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-29.7.0.tgz#f4369919225b684c56085998ac63dbd05be020d5" + integrity sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg== + dependencies: + "@jest/transform" "^29.7.0" + "@types/babel__core" "^7.1.14" + babel-plugin-istanbul "^6.1.1" + babel-preset-jest "^29.6.3" + chalk "^4.0.0" + graceful-fs "^4.2.9" + slash "^3.0.0" + +babel-plugin-istanbul@^6.1.1: + version "6.1.1" + resolved "https://registry.yarnpkg.com/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz#fa88ec59232fd9b4e36dbbc540a8ec9a9b47da73" + integrity sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA== + dependencies: + "@babel/helper-plugin-utils" "^7.0.0" + "@istanbuljs/load-nyc-config" "^1.0.0" + "@istanbuljs/schema" "^0.1.2" + istanbul-lib-instrument "^5.0.4" + test-exclude "^6.0.0" + +babel-plugin-jest-hoist@^29.6.3: + version "29.6.3" + resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-29.6.3.tgz#aadbe943464182a8922c3c927c3067ff40d24626" + integrity sha512-ESAc/RJvGTFEzRwOTT4+lNDk/GNHMkKbNzsvT0qKRfDyyYTskxB5rnU2njIDYVxXCBHHEI1c0YwHob3WaYujOg== + dependencies: + "@babel/template" "^7.3.3" + "@babel/types" "^7.3.3" + "@types/babel__core" "^7.1.14" + "@types/babel__traverse" "^7.0.6" + +babel-preset-current-node-syntax@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.1.0.tgz#9a929eafece419612ef4ae4f60b1862ebad8ef30" + integrity sha512-ldYss8SbBlWva1bs28q78Ju5Zq1F+8BrqBZZ0VFhLBvhh6lCpC2o3gDJi/5DRLs9FgYZCnmPYIVFU4lRXCkyUw== + dependencies: + "@babel/plugin-syntax-async-generators" "^7.8.4" + "@babel/plugin-syntax-bigint" "^7.8.3" + "@babel/plugin-syntax-class-properties" "^7.12.13" + "@babel/plugin-syntax-class-static-block" "^7.14.5" + "@babel/plugin-syntax-import-attributes" "^7.24.7" + "@babel/plugin-syntax-import-meta" "^7.10.4" + "@babel/plugin-syntax-json-strings" "^7.8.3" + "@babel/plugin-syntax-logical-assignment-operators" "^7.10.4" + "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" + "@babel/plugin-syntax-numeric-separator" "^7.10.4" + "@babel/plugin-syntax-object-rest-spread" "^7.8.3" + "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" + "@babel/plugin-syntax-optional-chaining" "^7.8.3" + "@babel/plugin-syntax-private-property-in-object" "^7.14.5" + "@babel/plugin-syntax-top-level-await" "^7.14.5" + +babel-preset-jest@^29.6.3: + version "29.6.3" + resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-29.6.3.tgz#fa05fa510e7d493896d7b0dd2033601c840f171c" + integrity sha512-0B3bhxR6snWXJZtR/RliHTDPRgn1sNHOR0yVtq/IiQFyuOVjFS+wuio/R4gSNkyYmKmJB4wGZv2NZanmKmTnNA== + dependencies: + babel-plugin-jest-hoist "^29.6.3" + babel-preset-current-node-syntax "^1.0.0" + balanced-match@^1.0.0: version "1.0.2" resolved "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz" @@ -497,9 +1225,33 @@ braces@^3.0.2: dependencies: fill-range "^7.0.1" -buffer-from@^1.0.0, buffer-from@^1.1.0: +browserslist@^4.23.1: + version "4.24.0" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.24.0.tgz#a1325fe4bc80b64fda169629fc01b3d6cecd38d4" + integrity sha512-Rmb62sR1Zpjql25eSanFGEhAxcFwfA1K0GuQcLoaJBAcENegrQut3hYdhXFF1obQfiDyqIW/cLM5HSJ/9k884A== + dependencies: + caniuse-lite "^1.0.30001663" + electron-to-chromium "^1.5.28" + node-releases "^2.0.18" + update-browserslist-db "^1.1.0" + +bs-logger@^0.2.6: + version "0.2.6" + resolved "https://registry.yarnpkg.com/bs-logger/-/bs-logger-0.2.6.tgz#eb7d365307a72cf974cc6cda76b68354ad336bd8" + integrity sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog== + dependencies: + fast-json-stable-stringify "2.x" + +bser@2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/bser/-/bser-2.1.1.tgz#e6787da20ece9d07998533cfd9de6f5c38f4bc05" + integrity sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ== + dependencies: + node-int64 "^0.4.0" + +buffer-from@^1.0.0: version "1.1.2" - resolved "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz" + resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== builtin-modules@^3.3.0: @@ -520,7 +1272,31 @@ callsites@^3.0.0: resolved "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz" integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== -chalk@^4.0.0: +camelcase@^5.3.1: + version "5.3.1" + resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320" + integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== + +camelcase@^6.2.0: + version "6.3.0" + resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a" + integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== + +caniuse-lite@^1.0.30001663: + version "1.0.30001663" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001663.tgz#1529a723505e429fdfd49532e9fc42273ba7fed7" + integrity sha512-o9C3X27GLKbLeTYZ6HBOLU1tsAcBZsLis28wrVzddShCS16RujjHp9GDHKZqrB3meE0YjhawvMFsGb/igqiPzA== + +chalk@^2.4.2: + version "2.4.2" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" + integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== + dependencies: + ansi-styles "^3.2.1" + escape-string-regexp "^1.0.5" + supports-color "^5.3.0" + +chalk@^4.0.0, chalk@^4.0.2: version "4.1.2" resolved "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz" integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== @@ -528,6 +1304,47 @@ chalk@^4.0.0: ansi-styles "^4.1.0" supports-color "^7.1.0" +char-regex@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/char-regex/-/char-regex-1.0.2.tgz#d744358226217f981ed58f479b1d6bcc29545dcf" + integrity sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw== + +ci-info@^3.2.0: + version "3.9.0" + resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.9.0.tgz#4279a62028a7b1f262f3473fc9605f5e218c59b4" + integrity sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ== + +cjs-module-lexer@^1.0.0: + version "1.4.1" + resolved "https://registry.yarnpkg.com/cjs-module-lexer/-/cjs-module-lexer-1.4.1.tgz#707413784dbb3a72aa11c2f2b042a0bef4004170" + integrity sha512-cuSVIHi9/9E/+821Qjdvngor+xpnlwnuwIyZOaLmHBVdXL+gP+I6QQB9VkO7RI77YIcTV+S1W9AreJ5eN63JBA== + +cliui@^8.0.1: + version "8.0.1" + resolved "https://registry.yarnpkg.com/cliui/-/cliui-8.0.1.tgz#0c04b075db02cbfe60dc8e6cf2f5486b1a3608aa" + integrity sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ== + dependencies: + string-width "^4.2.0" + strip-ansi "^6.0.1" + wrap-ansi "^7.0.0" + +co@^4.6.0: + version "4.6.0" + resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184" + integrity sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ== + +collect-v8-coverage@^1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/collect-v8-coverage/-/collect-v8-coverage-1.0.2.tgz#c0b29bcd33bcd0779a1344c2136051e6afd3d9e9" + integrity sha512-lHl4d5/ONEbLlJvaJNtsF/Lz+WvB07u2ycqTYbdrq7UypDXailES4valYb2eWiJFxZlVmpGekfqoxQhzyFdT4Q== + +color-convert@^1.9.0: + version "1.9.3" + resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" + integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== + dependencies: + color-name "1.1.3" + color-convert@^2.0.1: version "2.0.1" resolved "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz" @@ -535,16 +1352,16 @@ color-convert@^2.0.1: dependencies: color-name "~1.1.4" +color-name@1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" + integrity sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw== + color-name@~1.1.4: version "1.1.4" resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz" integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== -commander@^4.1.1: - version "4.1.1" - resolved "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz" - integrity sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA== - comment-parser@1.4.0: version "1.4.0" resolved "https://registry.npmjs.org/comment-parser/-/comment-parser-1.4.0.tgz" @@ -555,12 +1372,30 @@ concat-map@0.0.1: resolved "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz" integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== +convert-source-map@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-2.0.0.tgz#4b560f649fc4e918dd0ab75cf4961e8bc882d82a" + integrity sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg== + +create-jest@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/create-jest/-/create-jest-29.7.0.tgz#a355c5b3cb1e1af02ba177fe7afd7feee49a5320" + integrity sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q== + dependencies: + "@jest/types" "^29.6.3" + chalk "^4.0.0" + exit "^0.1.2" + graceful-fs "^4.2.9" + jest-config "^29.7.0" + jest-util "^29.7.0" + prompts "^2.0.1" + create-require@^1.1.0: version "1.1.1" resolved "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz" integrity sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ== -cross-spawn@^7.0.2: +cross-spawn@^7.0.2, cross-spawn@^7.0.3: version "7.0.3" resolved "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz" integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== @@ -576,6 +1411,13 @@ debug@^3.2.7: dependencies: ms "^2.1.1" +debug@^4.1.0, debug@^4.1.1: + version "4.3.7" + resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.7.tgz#87945b4151a011d76d95a198d7111c865c360a52" + integrity sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ== + dependencies: + ms "^2.1.3" + debug@^4.3.1: version "4.3.6" resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.6.tgz#2ab2c38fbaffebf8aa95fdfe6d88438c7a13c52b" @@ -590,11 +1432,21 @@ debug@^4.3.2, debug@^4.3.4: dependencies: ms "2.1.2" +dedent@^1.0.0: + version "1.5.3" + resolved "https://registry.yarnpkg.com/dedent/-/dedent-1.5.3.tgz#99aee19eb9bae55a67327717b6e848d0bf777e5a" + integrity sha512-NHQtfOOW68WD8lgypbLA5oT+Bt0xXJhiYvoR6SmmNXZfpzOGXwdKWmcwG8N7PwVVWV3eF/68nmD9BaJSsTBhyQ== + deep-is@^0.1.3: version "0.1.4" resolved "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz" integrity sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ== +deepmerge@^4.2.2: + version "4.3.1" + resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-4.3.1.tgz#44b5f2147cd3b00d4b56137685966f26fd25dd4a" + integrity sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A== + define-data-property@^1.0.1: version "1.1.0" resolved "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.0.tgz" @@ -613,10 +1465,15 @@ define-properties@^1.1.3, define-properties@^1.1.4, define-properties@^1.2.0: has-property-descriptors "^1.0.0" object-keys "^1.1.1" -diff@^3.1.0: - version "3.5.0" - resolved "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz" - integrity sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA== +detect-newline@^3.0.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/detect-newline/-/detect-newline-3.1.0.tgz#576f5dfc63ae1a192ff192d8ad3af6308991b651" + integrity sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA== + +diff-sequences@^29.6.3: + version "29.6.3" + resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-29.6.3.tgz#4deaf894d11407c51efc8418012f9e70b84ea921" + integrity sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q== diff@^4.0.1: version "4.0.2" @@ -637,6 +1494,35 @@ doctrine@^2.1.0: dependencies: esutils "^2.0.2" +ejs@^3.1.10: + version "3.1.10" + resolved "https://registry.yarnpkg.com/ejs/-/ejs-3.1.10.tgz#69ab8358b14e896f80cc39e62087b88500c3ac3b" + integrity sha512-UeJmFfOrAQS8OJWPZ4qtgHyWExa088/MtK5UEyoJGFH67cDEXkZSviOiKRCZ4Xij0zxI3JECgYs3oKx+AizQBA== + dependencies: + jake "^10.8.5" + +electron-to-chromium@^1.5.28: + version "1.5.28" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.28.tgz#aee074e202c6ee8a0030a9c2ef0b3fe9f967d576" + integrity sha512-VufdJl+rzaKZoYVUijN13QcXVF5dWPZANeFTLNy+OSpHdDL5ynXTF35+60RSBbaQYB1ae723lQXHCrf4pyLsMw== + +emittery@^0.13.1: + version "0.13.1" + resolved "https://registry.yarnpkg.com/emittery/-/emittery-0.13.1.tgz#c04b8c3457490e0847ae51fced3af52d338e3dad" + integrity sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ== + +emoji-regex@^8.0.0: + version "8.0.0" + resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" + integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== + +error-ex@^1.3.1: + version "1.3.2" + resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" + integrity sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g== + dependencies: + is-arrayish "^0.2.1" + es-abstract@^1.22.1: version "1.22.2" resolved "https://registry.npmjs.org/es-abstract/-/es-abstract-1.22.2.tgz" @@ -707,6 +1593,21 @@ es-to-primitive@^1.2.1: is-date-object "^1.0.1" is-symbol "^1.0.2" +escalade@^3.1.1, escalade@^3.1.2: + version "3.2.0" + resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.2.0.tgz#011a3f69856ba189dffa7dc8fcce99d2a87903e5" + integrity sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA== + +escape-string-regexp@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" + integrity sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg== + +escape-string-regexp@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz#a30304e99daa32e23b2fd20f51babd07cffca344" + integrity sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w== + escape-string-regexp@^4.0.0: version "4.0.0" resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz" @@ -838,6 +1739,11 @@ espree@^10.0.1, espree@^10.1.0: acorn-jsx "^5.3.2" eslint-visitor-keys "^4.0.0" +esprima@^4.0.0: + version "4.0.1" + resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" + integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== + esquery@^1.5.0: version "1.5.0" resolved "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz" @@ -862,6 +1768,37 @@ esutils@^2.0.2: resolved "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz" integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== +execa@^5.0.0: + version "5.1.1" + resolved "https://registry.yarnpkg.com/execa/-/execa-5.1.1.tgz#f80ad9cbf4298f7bd1d4c9555c21e93741c411dd" + integrity sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg== + dependencies: + cross-spawn "^7.0.3" + get-stream "^6.0.0" + human-signals "^2.1.0" + is-stream "^2.0.0" + merge-stream "^2.0.0" + npm-run-path "^4.0.1" + onetime "^5.1.2" + signal-exit "^3.0.3" + strip-final-newline "^2.0.0" + +exit@^0.1.2: + version "0.1.2" + resolved "https://registry.yarnpkg.com/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c" + integrity sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ== + +expect@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/expect/-/expect-29.7.0.tgz#578874590dcb3214514084c08115d8aee61e11bc" + integrity sha512-2Zks0hf1VLFYI1kbh0I5jP3KHHyCHpkfyHBzsSXRFgl/Bg9mWYfMW8oD+PdMPlEwy5HNsR9JutYy6pMeOh61nw== + dependencies: + "@jest/expect-utils" "^29.7.0" + jest-get-type "^29.6.3" + jest-matcher-utils "^29.7.0" + jest-message-util "^29.7.0" + jest-util "^29.7.0" + fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: version "3.1.3" resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz" @@ -889,7 +1826,7 @@ fast-glob@^3.3.2: merge2 "^1.3.0" micromatch "^4.0.4" -fast-json-stable-stringify@^2.0.0: +fast-json-stable-stringify@2.x, fast-json-stable-stringify@^2.0.0, fast-json-stable-stringify@^2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz" integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== @@ -906,6 +1843,13 @@ fastq@^1.6.0: dependencies: reusify "^1.0.4" +fb-watchman@^2.0.0: + version "2.0.2" + resolved "https://registry.yarnpkg.com/fb-watchman/-/fb-watchman-2.0.2.tgz#e9524ee6b5c77e9e5001af0f85f3adbb8623255c" + integrity sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA== + dependencies: + bser "2.1.1" + file-entry-cache@^8.0.0: version "8.0.0" resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-8.0.0.tgz#7787bddcf1131bffb92636c69457bbc0edd6d81f" @@ -913,6 +1857,13 @@ file-entry-cache@^8.0.0: dependencies: flat-cache "^4.0.0" +filelist@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/filelist/-/filelist-1.0.4.tgz#f78978a1e944775ff9e62e744424f215e58352b5" + integrity sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q== + dependencies: + minimatch "^5.0.1" + fill-range@^7.0.1: version "7.0.1" resolved "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz" @@ -920,6 +1871,14 @@ fill-range@^7.0.1: dependencies: to-regex-range "^5.0.1" +find-up@^4.0.0, find-up@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19" + integrity sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw== + dependencies: + locate-path "^5.0.0" + path-exists "^4.0.0" + find-up@^5.0.0: version "5.0.0" resolved "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz" @@ -950,9 +1909,14 @@ for-each@^0.3.3: fs.realpath@^1.0.0: version "1.0.0" - resolved "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz" + resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw== +fsevents@^2.3.2: + version "2.3.3" + resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6" + integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw== + function-bind@^1.1.1: version "1.1.1" resolved "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz" @@ -973,6 +1937,16 @@ functions-have-names@^1.2.3: resolved "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz" integrity sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ== +gensync@^1.0.0-beta.2: + version "1.0.0-beta.2" + resolved "https://registry.yarnpkg.com/gensync/-/gensync-1.0.0-beta.2.tgz#32a6ee76c3d7f52d46b2b1ae5d93fea8580a25e0" + integrity sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg== + +get-caller-file@^2.0.5: + version "2.0.5" + resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" + integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== + get-intrinsic@^1.0.2, get-intrinsic@^1.1.1, get-intrinsic@^1.1.3, get-intrinsic@^1.2.0, get-intrinsic@^1.2.1: version "1.2.1" resolved "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.1.tgz" @@ -983,6 +1957,16 @@ get-intrinsic@^1.0.2, get-intrinsic@^1.1.1, get-intrinsic@^1.1.3, get-intrinsic@ has-proto "^1.0.1" has-symbols "^1.0.3" +get-package-type@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/get-package-type/-/get-package-type-0.1.0.tgz#8de2d803cff44df3bc6c456e6668b36c3926e11a" + integrity sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q== + +get-stream@^6.0.0: + version "6.0.1" + resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7" + integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg== + get-symbol-description@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz" @@ -1005,9 +1989,9 @@ glob-parent@^6.0.2: dependencies: is-glob "^4.0.3" -glob@^7.1.6: +glob@^7.1.3, glob@^7.1.4: version "7.2.3" - resolved "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== dependencies: fs.realpath "^1.0.0" @@ -1017,6 +2001,11 @@ glob@^7.1.6: once "^1.3.0" path-is-absolute "^1.0.0" +globals@^11.1.0: + version "11.12.0" + resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" + integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== + globals@^14.0.0: version "14.0.0" resolved "https://registry.yarnpkg.com/globals/-/globals-14.0.0.tgz#898d7413c29babcf6bafe56fcadded858ada724e" @@ -1053,6 +2042,11 @@ gopd@^1.0.1: dependencies: get-intrinsic "^1.1.3" +graceful-fs@^4.2.9: + version "4.2.11" + resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3" + integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ== + graphemer@^1.4.0: version "1.4.0" resolved "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz" @@ -1063,6 +2057,11 @@ has-bigints@^1.0.1, has-bigints@^1.0.2: resolved "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz" integrity sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ== +has-flag@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" + integrity sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw== + has-flag@^4.0.0: version "4.0.0" resolved "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz" @@ -1099,6 +2098,16 @@ has@^1.0.3: dependencies: function-bind "^1.1.1" +html-escaper@^2.0.0: + version "2.0.2" + resolved "https://registry.yarnpkg.com/html-escaper/-/html-escaper-2.0.2.tgz#dfd60027da36a36dfcbe236262c00a5822681453" + integrity sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg== + +human-signals@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0" + integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw== + ignore@^5.2.0, ignore@^5.2.4: version "5.2.4" resolved "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz" @@ -1117,6 +2126,14 @@ import-fresh@^3.2.1: parent-module "^1.0.0" resolve-from "^4.0.0" +import-local@^3.0.2: + version "3.2.0" + resolved "https://registry.yarnpkg.com/import-local/-/import-local-3.2.0.tgz#c3d5c745798c02a6f8b897726aba5100186ee260" + integrity sha512-2SPlun1JUPWoM6t3F0dw0FkCF/jWY8kttcY4f599GLTSjh2OCuuhdTkJQsEcZzBqbXZGKMK2OqW1oZsjtf/gQA== + dependencies: + pkg-dir "^4.2.0" + resolve-cwd "^3.0.0" + imurmurhash@^0.1.4: version "0.1.4" resolved "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz" @@ -1124,7 +2141,7 @@ imurmurhash@^0.1.4: inflight@^1.0.4: version "1.0.6" - resolved "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz" + resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" integrity sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA== dependencies: once "^1.3.0" @@ -1132,7 +2149,7 @@ inflight@^1.0.4: inherits@2: version "2.0.4" - resolved "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz" + resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== internal-slot@^1.0.5: @@ -1153,6 +2170,11 @@ is-array-buffer@^3.0.1, is-array-buffer@^3.0.2: get-intrinsic "^1.2.0" is-typed-array "^1.1.10" +is-arrayish@^0.2.1: + version "0.2.1" + resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" + integrity sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg== + is-bigint@^1.0.1: version "1.0.4" resolved "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz" @@ -1199,6 +2221,16 @@ is-extglob@^2.1.1: resolved "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz" integrity sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ== +is-fullwidth-code-point@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" + integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== + +is-generator-fn@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/is-generator-fn/-/is-generator-fn-2.1.0.tgz#7d140adc389aaf3011a8f2a2a4cfa6faadffb118" + integrity sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ== + is-glob@^4.0.0, is-glob@^4.0.1, is-glob@^4.0.3: version "4.0.3" resolved "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz" @@ -1243,6 +2275,11 @@ is-shared-array-buffer@^1.0.2: dependencies: call-bind "^1.0.2" +is-stream@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-2.0.1.tgz#fac1e3d53b97ad5a9d0ae9cef2389f5810a5c077" + integrity sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg== + is-string@^1.0.5, is-string@^1.0.7: version "1.0.7" resolved "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz" @@ -1281,6 +2318,440 @@ isexe@^2.0.0: resolved "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz" integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw== +istanbul-lib-coverage@^3.0.0, istanbul-lib-coverage@^3.2.0: + version "3.2.2" + resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz#2d166c4b0644d43a39f04bf6c2edd1e585f31756" + integrity sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg== + +istanbul-lib-instrument@^5.0.4: + version "5.2.1" + resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.1.tgz#d10c8885c2125574e1c231cacadf955675e1ce3d" + integrity sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg== + dependencies: + "@babel/core" "^7.12.3" + "@babel/parser" "^7.14.7" + "@istanbuljs/schema" "^0.1.2" + istanbul-lib-coverage "^3.2.0" + semver "^6.3.0" + +istanbul-lib-instrument@^6.0.0: + version "6.0.3" + resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-6.0.3.tgz#fa15401df6c15874bcb2105f773325d78c666765" + integrity sha512-Vtgk7L/R2JHyyGW07spoFlB8/lpjiOLTjMdms6AFMraYt3BaJauod/NGrfnVG/y4Ix1JEuMRPDPEj2ua+zz1/Q== + dependencies: + "@babel/core" "^7.23.9" + "@babel/parser" "^7.23.9" + "@istanbuljs/schema" "^0.1.3" + istanbul-lib-coverage "^3.2.0" + semver "^7.5.4" + +istanbul-lib-report@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz#908305bac9a5bd175ac6a74489eafd0fc2445a7d" + integrity sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw== + dependencies: + istanbul-lib-coverage "^3.0.0" + make-dir "^4.0.0" + supports-color "^7.1.0" + +istanbul-lib-source-maps@^4.0.0: + version "4.0.1" + resolved "https://registry.yarnpkg.com/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz#895f3a709fcfba34c6de5a42939022f3e4358551" + integrity sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw== + dependencies: + debug "^4.1.1" + istanbul-lib-coverage "^3.0.0" + source-map "^0.6.1" + +istanbul-reports@^3.1.3: + version "3.1.7" + resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-3.1.7.tgz#daed12b9e1dca518e15c056e1e537e741280fa0b" + integrity sha512-BewmUXImeuRk2YY0PVbxgKAysvhRPUQE0h5QRM++nVWyubKGV0l8qQ5op8+B2DOmwSe63Jivj0BjkPQVf8fP5g== + dependencies: + html-escaper "^2.0.0" + istanbul-lib-report "^3.0.0" + +jake@^10.8.5: + version "10.9.2" + resolved "https://registry.yarnpkg.com/jake/-/jake-10.9.2.tgz#6ae487e6a69afec3a5e167628996b59f35ae2b7f" + integrity sha512-2P4SQ0HrLQ+fw6llpLnOaGAvN2Zu6778SJMrCUwns4fOoG9ayrTiZk3VV8sCPkVZF8ab0zksVpS8FDY5pRCNBA== + dependencies: + async "^3.2.3" + chalk "^4.0.2" + filelist "^1.0.4" + minimatch "^3.1.2" + +jest-changed-files@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-29.7.0.tgz#1c06d07e77c78e1585d020424dedc10d6e17ac3a" + integrity sha512-fEArFiwf1BpQ+4bXSprcDc3/x4HSzL4al2tozwVpDFpsxALjLYdyiIK4e5Vz66GQJIbXJ82+35PtysofptNX2w== + dependencies: + execa "^5.0.0" + jest-util "^29.7.0" + p-limit "^3.1.0" + +jest-circus@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-circus/-/jest-circus-29.7.0.tgz#b6817a45fcc835d8b16d5962d0c026473ee3668a" + integrity sha512-3E1nCMgipcTkCocFwM90XXQab9bS+GMsjdpmPrlelaxwD93Ad8iVEjX/vvHPdLPnFf+L40u+5+iutRdA1N9myw== + dependencies: + "@jest/environment" "^29.7.0" + "@jest/expect" "^29.7.0" + "@jest/test-result" "^29.7.0" + "@jest/types" "^29.6.3" + "@types/node" "*" + chalk "^4.0.0" + co "^4.6.0" + dedent "^1.0.0" + is-generator-fn "^2.0.0" + jest-each "^29.7.0" + jest-matcher-utils "^29.7.0" + jest-message-util "^29.7.0" + jest-runtime "^29.7.0" + jest-snapshot "^29.7.0" + jest-util "^29.7.0" + p-limit "^3.1.0" + pretty-format "^29.7.0" + pure-rand "^6.0.0" + slash "^3.0.0" + stack-utils "^2.0.3" + +jest-cli@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-29.7.0.tgz#5592c940798e0cae677eec169264f2d839a37995" + integrity sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg== + dependencies: + "@jest/core" "^29.7.0" + "@jest/test-result" "^29.7.0" + "@jest/types" "^29.6.3" + chalk "^4.0.0" + create-jest "^29.7.0" + exit "^0.1.2" + import-local "^3.0.2" + jest-config "^29.7.0" + jest-util "^29.7.0" + jest-validate "^29.7.0" + yargs "^17.3.1" + +jest-config@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-29.7.0.tgz#bcbda8806dbcc01b1e316a46bb74085a84b0245f" + integrity sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ== + dependencies: + "@babel/core" "^7.11.6" + "@jest/test-sequencer" "^29.7.0" + "@jest/types" "^29.6.3" + babel-jest "^29.7.0" + chalk "^4.0.0" + ci-info "^3.2.0" + deepmerge "^4.2.2" + glob "^7.1.3" + graceful-fs "^4.2.9" + jest-circus "^29.7.0" + jest-environment-node "^29.7.0" + jest-get-type "^29.6.3" + jest-regex-util "^29.6.3" + jest-resolve "^29.7.0" + jest-runner "^29.7.0" + jest-util "^29.7.0" + jest-validate "^29.7.0" + micromatch "^4.0.4" + parse-json "^5.2.0" + pretty-format "^29.7.0" + slash "^3.0.0" + strip-json-comments "^3.1.1" + +jest-diff@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-29.7.0.tgz#017934a66ebb7ecf6f205e84699be10afd70458a" + integrity sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw== + dependencies: + chalk "^4.0.0" + diff-sequences "^29.6.3" + jest-get-type "^29.6.3" + pretty-format "^29.7.0" + +jest-docblock@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-29.7.0.tgz#8fddb6adc3cdc955c93e2a87f61cfd350d5d119a" + integrity sha512-q617Auw3A612guyaFgsbFeYpNP5t2aoUNLwBUbc/0kD1R4t9ixDbyFTHd1nok4epoVFpr7PmeWHrhvuV3XaJ4g== + dependencies: + detect-newline "^3.0.0" + +jest-each@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-each/-/jest-each-29.7.0.tgz#162a9b3f2328bdd991beaabffbb74745e56577d1" + integrity sha512-gns+Er14+ZrEoC5fhOfYCY1LOHHr0TI+rQUHZS8Ttw2l7gl+80eHc/gFf2Ktkw0+SIACDTeWvpFcv3B04VembQ== + dependencies: + "@jest/types" "^29.6.3" + chalk "^4.0.0" + jest-get-type "^29.6.3" + jest-util "^29.7.0" + pretty-format "^29.7.0" + +jest-environment-node@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-29.7.0.tgz#0b93e111dda8ec120bc8300e6d1fb9576e164376" + integrity sha512-DOSwCRqXirTOyheM+4d5YZOrWcdu0LNZ87ewUoywbcb2XR4wKgqiG8vNeYwhjFMbEkfju7wx2GYH0P2gevGvFw== + dependencies: + "@jest/environment" "^29.7.0" + "@jest/fake-timers" "^29.7.0" + "@jest/types" "^29.6.3" + "@types/node" "*" + jest-mock "^29.7.0" + jest-util "^29.7.0" + +jest-get-type@^29.6.3: + version "29.6.3" + resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-29.6.3.tgz#36f499fdcea197c1045a127319c0481723908fd1" + integrity sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw== + +jest-haste-map@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-29.7.0.tgz#3c2396524482f5a0506376e6c858c3bbcc17b104" + integrity sha512-fP8u2pyfqx0K1rGn1R9pyE0/KTn+G7PxktWidOBTqFPLYX0b9ksaMFkhK5vrS3DVun09pckLdlx90QthlW7AmA== + dependencies: + "@jest/types" "^29.6.3" + "@types/graceful-fs" "^4.1.3" + "@types/node" "*" + anymatch "^3.0.3" + fb-watchman "^2.0.0" + graceful-fs "^4.2.9" + jest-regex-util "^29.6.3" + jest-util "^29.7.0" + jest-worker "^29.7.0" + micromatch "^4.0.4" + walker "^1.0.8" + optionalDependencies: + fsevents "^2.3.2" + +jest-leak-detector@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-29.7.0.tgz#5b7ec0dadfdfec0ca383dc9aa016d36b5ea4c728" + integrity sha512-kYA8IJcSYtST2BY9I+SMC32nDpBT3J2NvWJx8+JCuCdl/CR1I4EKUJROiP8XtCcxqgTTBGJNdbB1A8XRKbTetw== + dependencies: + jest-get-type "^29.6.3" + pretty-format "^29.7.0" + +jest-matcher-utils@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-29.7.0.tgz#ae8fec79ff249fd592ce80e3ee474e83a6c44f12" + integrity sha512-sBkD+Xi9DtcChsI3L3u0+N0opgPYnCRPtGcQYrgXmR+hmt/fYfWAL0xRXYU8eWOdfuLgBe0YCW3AFtnRLagq/g== + dependencies: + chalk "^4.0.0" + jest-diff "^29.7.0" + jest-get-type "^29.6.3" + pretty-format "^29.7.0" + +jest-message-util@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-29.7.0.tgz#8bc392e204e95dfe7564abbe72a404e28e51f7f3" + integrity sha512-GBEV4GRADeP+qtB2+6u61stea8mGcOT4mCtrYISZwfu9/ISHFJ/5zOMXYbpBE9RsS5+Gb63DW4FgmnKJ79Kf6w== + dependencies: + "@babel/code-frame" "^7.12.13" + "@jest/types" "^29.6.3" + "@types/stack-utils" "^2.0.0" + chalk "^4.0.0" + graceful-fs "^4.2.9" + micromatch "^4.0.4" + pretty-format "^29.7.0" + slash "^3.0.0" + stack-utils "^2.0.3" + +jest-mock@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-29.7.0.tgz#4e836cf60e99c6fcfabe9f99d017f3fdd50a6347" + integrity sha512-ITOMZn+UkYS4ZFh83xYAOzWStloNzJFO2s8DWrE4lhtGD+AorgnbkiKERe4wQVBydIGPx059g6riW5Btp6Llnw== + dependencies: + "@jest/types" "^29.6.3" + "@types/node" "*" + jest-util "^29.7.0" + +jest-pnp-resolver@^1.2.2: + version "1.2.3" + resolved "https://registry.yarnpkg.com/jest-pnp-resolver/-/jest-pnp-resolver-1.2.3.tgz#930b1546164d4ad5937d5540e711d4d38d4cad2e" + integrity sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w== + +jest-regex-util@^29.6.3: + version "29.6.3" + resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-29.6.3.tgz#4a556d9c776af68e1c5f48194f4d0327d24e8a52" + integrity sha512-KJJBsRCyyLNWCNBOvZyRDnAIfUiRJ8v+hOBQYGn8gDyF3UegwiP4gwRR3/SDa42g1YbVycTidUF3rKjyLFDWbg== + +jest-resolve-dependencies@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-29.7.0.tgz#1b04f2c095f37fc776ff40803dc92921b1e88428" + integrity sha512-un0zD/6qxJ+S0et7WxeI3H5XSe9lTBBR7bOHCHXkKR6luG5mwDDlIzVQ0V5cZCuoTgEdcdwzTghYkTWfubi+nA== + dependencies: + jest-regex-util "^29.6.3" + jest-snapshot "^29.7.0" + +jest-resolve@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-29.7.0.tgz#64d6a8992dd26f635ab0c01e5eef4399c6bcbc30" + integrity sha512-IOVhZSrg+UvVAshDSDtHyFCCBUl/Q3AAJv8iZ6ZjnZ74xzvwuzLXid9IIIPgTnY62SJjfuupMKZsZQRsCvxEgA== + dependencies: + chalk "^4.0.0" + graceful-fs "^4.2.9" + jest-haste-map "^29.7.0" + jest-pnp-resolver "^1.2.2" + jest-util "^29.7.0" + jest-validate "^29.7.0" + resolve "^1.20.0" + resolve.exports "^2.0.0" + slash "^3.0.0" + +jest-runner@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-29.7.0.tgz#809af072d408a53dcfd2e849a4c976d3132f718e" + integrity sha512-fsc4N6cPCAahybGBfTRcq5wFR6fpLznMg47sY5aDpsoejOcVYFb07AHuSnR0liMcPTgBsA3ZJL6kFOjPdoNipQ== + dependencies: + "@jest/console" "^29.7.0" + "@jest/environment" "^29.7.0" + "@jest/test-result" "^29.7.0" + "@jest/transform" "^29.7.0" + "@jest/types" "^29.6.3" + "@types/node" "*" + chalk "^4.0.0" + emittery "^0.13.1" + graceful-fs "^4.2.9" + jest-docblock "^29.7.0" + jest-environment-node "^29.7.0" + jest-haste-map "^29.7.0" + jest-leak-detector "^29.7.0" + jest-message-util "^29.7.0" + jest-resolve "^29.7.0" + jest-runtime "^29.7.0" + jest-util "^29.7.0" + jest-watcher "^29.7.0" + jest-worker "^29.7.0" + p-limit "^3.1.0" + source-map-support "0.5.13" + +jest-runtime@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-29.7.0.tgz#efecb3141cf7d3767a3a0cc8f7c9990587d3d817" + integrity sha512-gUnLjgwdGqW7B4LvOIkbKs9WGbn+QLqRQQ9juC6HndeDiezIwhDP+mhMwHWCEcfQ5RUXa6OPnFF8BJh5xegwwQ== + dependencies: + "@jest/environment" "^29.7.0" + "@jest/fake-timers" "^29.7.0" + "@jest/globals" "^29.7.0" + "@jest/source-map" "^29.6.3" + "@jest/test-result" "^29.7.0" + "@jest/transform" "^29.7.0" + "@jest/types" "^29.6.3" + "@types/node" "*" + chalk "^4.0.0" + cjs-module-lexer "^1.0.0" + collect-v8-coverage "^1.0.0" + glob "^7.1.3" + graceful-fs "^4.2.9" + jest-haste-map "^29.7.0" + jest-message-util "^29.7.0" + jest-mock "^29.7.0" + jest-regex-util "^29.6.3" + jest-resolve "^29.7.0" + jest-snapshot "^29.7.0" + jest-util "^29.7.0" + slash "^3.0.0" + strip-bom "^4.0.0" + +jest-snapshot@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-29.7.0.tgz#c2c574c3f51865da1bb329036778a69bf88a6be5" + integrity sha512-Rm0BMWtxBcioHr1/OX5YCP8Uov4riHvKPknOGs804Zg9JGZgmIBkbtlxJC/7Z4msKYVbIJtfU+tKb8xlYNfdkw== + dependencies: + "@babel/core" "^7.11.6" + "@babel/generator" "^7.7.2" + "@babel/plugin-syntax-jsx" "^7.7.2" + "@babel/plugin-syntax-typescript" "^7.7.2" + "@babel/types" "^7.3.3" + "@jest/expect-utils" "^29.7.0" + "@jest/transform" "^29.7.0" + "@jest/types" "^29.6.3" + babel-preset-current-node-syntax "^1.0.0" + chalk "^4.0.0" + expect "^29.7.0" + graceful-fs "^4.2.9" + jest-diff "^29.7.0" + jest-get-type "^29.6.3" + jest-matcher-utils "^29.7.0" + jest-message-util "^29.7.0" + jest-util "^29.7.0" + natural-compare "^1.4.0" + pretty-format "^29.7.0" + semver "^7.5.3" + +jest-util@^29.0.0, jest-util@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-29.7.0.tgz#23c2b62bfb22be82b44de98055802ff3710fc0bc" + integrity sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA== + dependencies: + "@jest/types" "^29.6.3" + "@types/node" "*" + chalk "^4.0.0" + ci-info "^3.2.0" + graceful-fs "^4.2.9" + picomatch "^2.2.3" + +jest-validate@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-29.7.0.tgz#7bf705511c64da591d46b15fce41400d52147d9c" + integrity sha512-ZB7wHqaRGVw/9hST/OuFUReG7M8vKeq0/J2egIGLdvjHCmYqGARhzXmtgi+gVeZ5uXFF219aOc3Ls2yLg27tkw== + dependencies: + "@jest/types" "^29.6.3" + camelcase "^6.2.0" + chalk "^4.0.0" + jest-get-type "^29.6.3" + leven "^3.1.0" + pretty-format "^29.7.0" + +jest-watcher@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-29.7.0.tgz#7810d30d619c3a62093223ce6bb359ca1b28a2f2" + integrity sha512-49Fg7WXkU3Vl2h6LbLtMQ/HyB6rXSIX7SqvBLQmssRBGN9I0PNvPmAmCWSOY6SOvrjhI/F7/bGAv9RtnsPA03g== + dependencies: + "@jest/test-result" "^29.7.0" + "@jest/types" "^29.6.3" + "@types/node" "*" + ansi-escapes "^4.2.1" + chalk "^4.0.0" + emittery "^0.13.1" + jest-util "^29.7.0" + string-length "^4.0.1" + +jest-worker@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-29.7.0.tgz#acad073acbbaeb7262bd5389e1bcf43e10058d4a" + integrity sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw== + dependencies: + "@types/node" "*" + jest-util "^29.7.0" + merge-stream "^2.0.0" + supports-color "^8.0.0" + +jest@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest/-/jest-29.7.0.tgz#994676fc24177f088f1c5e3737f5697204ff2613" + integrity sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw== + dependencies: + "@jest/core" "^29.7.0" + "@jest/types" "^29.6.3" + import-local "^3.0.2" + jest-cli "^29.7.0" + +js-tokens@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" + integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== + +js-yaml@^3.13.1: + version "3.14.1" + resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.14.1.tgz#dae812fdb3825fa306609a8717383c50c36a0537" + integrity sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g== + dependencies: + argparse "^1.0.7" + esprima "^4.0.0" + js-yaml@^4.1.0: version "4.1.0" resolved "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz" @@ -1293,11 +2764,21 @@ jsdoc-type-pratt-parser@~4.0.0: resolved "https://registry.npmjs.org/jsdoc-type-pratt-parser/-/jsdoc-type-pratt-parser-4.0.0.tgz" integrity sha512-YtOli5Cmzy3q4dP26GraSOeAhqecewG04hoO8DY56CH4KJ9Fvv5qKWUCCo3HZob7esJQHCv6/+bnTy72xZZaVQ== +jsesc@^2.5.1: + version "2.5.2" + resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4" + integrity sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA== + json-buffer@3.0.1: version "3.0.1" resolved "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz" integrity sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ== +json-parse-even-better-errors@^2.3.0: + version "2.3.1" + resolved "https://registry.yarnpkg.com/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d" + integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== + json-schema-traverse@^0.4.1: version "0.4.1" resolved "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz" @@ -1315,6 +2796,11 @@ json5@^1.0.2: dependencies: minimist "^1.2.0" +json5@^2.2.3: + version "2.2.3" + resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283" + integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== + jsonc-parser@^3.2.0: version "3.2.0" resolved "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz" @@ -1327,6 +2813,16 @@ keyv@^4.5.4: dependencies: json-buffer "3.0.1" +kleur@^3.0.3: + version "3.0.3" + resolved "https://registry.yarnpkg.com/kleur/-/kleur-3.0.3.tgz#a79c9ecc86ee1ce3fa6206d1216c501f147fc07e" + integrity sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w== + +leven@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/leven/-/leven-3.1.0.tgz#77891de834064cccba82ae7842bb6b14a13ed7f2" + integrity sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A== + levn@^0.4.1: version "0.4.1" resolved "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz" @@ -1335,6 +2831,18 @@ levn@^0.4.1: prelude-ls "^1.2.1" type-check "~0.4.0" +lines-and-columns@^1.1.6: + version "1.2.4" + resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" + integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== + +locate-path@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-5.0.0.tgz#1afba396afd676a6d42504d0a67a3a7eb9f62aa0" + integrity sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g== + dependencies: + p-locate "^4.1.0" + locate-path@^6.0.0: version "6.0.0" resolved "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz" @@ -1342,11 +2850,23 @@ locate-path@^6.0.0: dependencies: p-locate "^5.0.0" +lodash.memoize@^4.1.2: + version "4.1.2" + resolved "https://registry.yarnpkg.com/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe" + integrity sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag== + lodash.merge@^4.6.2: version "4.6.2" resolved "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz" integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ== +lru-cache@^5.1.1: + version "5.1.1" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920" + integrity sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w== + dependencies: + yallist "^3.0.2" + lru-cache@^6.0.0: version "6.0.0" resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz" @@ -1359,16 +2879,35 @@ lunr@^2.3.9: resolved "https://registry.npmjs.org/lunr/-/lunr-2.3.9.tgz" integrity sha512-zTU3DaZaF3Rt9rhN3uBMGQD3dD2/vFQqnvZCDv4dl5iOzq2IZQqTxu90r4E5J+nP70J3ilqVCrbho2eWaeW8Ow== -make-error@^1.1.1: +make-dir@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-4.0.0.tgz#c3c2307a771277cd9638305f915c29ae741b614e" + integrity sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw== + dependencies: + semver "^7.5.3" + +make-error@^1.1.1, make-error@^1.3.6: version "1.3.6" resolved "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz" integrity sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw== +makeerror@1.0.12: + version "1.0.12" + resolved "https://registry.yarnpkg.com/makeerror/-/makeerror-1.0.12.tgz#3e5dd2079a82e812e983cc6610c4a2cb0eaa801a" + integrity sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg== + dependencies: + tmpl "1.0.5" + marked@^4.3.0: version "4.3.0" resolved "https://registry.npmjs.org/marked/-/marked-4.3.0.tgz" integrity sha512-PRsaiG84bK+AMvxziE/lCFss8juXjNaWzVbN5tXAm4XjeaS9NAHhop+PjQxz2A9h8Q4M/xGmzP8vqNwy6JeK0A== +merge-stream@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60" + integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w== + merge2@^1.3.0, merge2@^1.4.1: version "1.4.1" resolved "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz" @@ -1382,6 +2921,11 @@ micromatch@^4.0.4: braces "^3.0.2" picomatch "^2.3.1" +mimic-fn@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" + integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== + minimatch@9.0.3, minimatch@^9.0.3: version "9.0.3" resolved "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz" @@ -1389,13 +2933,20 @@ minimatch@9.0.3, minimatch@^9.0.3: dependencies: brace-expansion "^2.0.1" -minimatch@^3.1.1, minimatch@^3.1.2: +minimatch@^3.0.4, minimatch@^3.1.1, minimatch@^3.1.2: version "3.1.2" resolved "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz" integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== dependencies: brace-expansion "^1.1.7" +minimatch@^5.0.1: + version "5.1.6" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-5.1.6.tgz#1cfcb8cf5522ea69952cd2af95ae09477f122a96" + integrity sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g== + dependencies: + brace-expansion "^2.0.1" + minimatch@^9.0.4: version "9.0.5" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.5.tgz#d74f9dd6b57d83d8e98cfb82133b03978bc929e5" @@ -1408,19 +2959,12 @@ minimist@^1.2.0, minimist@^1.2.6: resolved "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz" integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA== -mkdirp@^0.5.1: - version "0.5.6" - resolved "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz" - integrity sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw== - dependencies: - minimist "^1.2.6" - ms@2.1.2: version "2.1.2" resolved "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz" integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== -ms@^2.1.1: +ms@^2.1.1, ms@^2.1.3: version "2.1.3" resolved "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz" integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== @@ -1430,6 +2974,28 @@ natural-compare@^1.4.0: resolved "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz" integrity sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw== +node-int64@^0.4.0: + version "0.4.0" + resolved "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b" + integrity sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw== + +node-releases@^2.0.18: + version "2.0.18" + resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.18.tgz#f010e8d35e2fe8d6b2944f03f70213ecedc4ca3f" + integrity sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g== + +normalize-path@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" + integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== + +npm-run-path@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-4.0.1.tgz#b7ecd1e5ed53da8e37a55e1c2269e0b97ed748ea" + integrity sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw== + dependencies: + path-key "^3.0.0" + object-inspect@^1.12.3, object-inspect@^1.9.0: version "1.12.3" resolved "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz" @@ -1480,11 +3046,18 @@ object.values@^1.1.6: once@^1.3.0: version "1.4.0" - resolved "https://registry.npmjs.org/once/-/once-1.4.0.tgz" + resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w== dependencies: wrappy "1" +onetime@^5.1.2: + version "5.1.2" + resolved "https://registry.yarnpkg.com/onetime/-/onetime-5.1.2.tgz#d0e96ebb56b07476df1dd9c4806e5237985ca45e" + integrity sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg== + dependencies: + mimic-fn "^2.1.0" + optionator@^0.9.3: version "0.9.3" resolved "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz" @@ -1497,13 +3070,27 @@ optionator@^0.9.3: prelude-ls "^1.2.1" type-check "^0.4.0" -p-limit@^3.0.2: +p-limit@^2.2.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.3.0.tgz#3dd33c647a214fdfffd835933eb086da0dc21db1" + integrity sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w== + dependencies: + p-try "^2.0.0" + +p-limit@^3.0.2, p-limit@^3.1.0: version "3.1.0" resolved "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz" integrity sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ== dependencies: yocto-queue "^0.1.0" +p-locate@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-4.1.0.tgz#a3428bb7088b3a60292f66919278b7c297ad4f07" + integrity sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A== + dependencies: + p-limit "^2.2.0" + p-locate@^5.0.0: version "5.0.0" resolved "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz" @@ -1511,6 +3098,11 @@ p-locate@^5.0.0: dependencies: p-limit "^3.0.2" +p-try@^2.0.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6" + integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ== + parent-module@^1.0.0: version "1.0.1" resolved "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz" @@ -1518,6 +3110,16 @@ parent-module@^1.0.0: dependencies: callsites "^3.0.0" +parse-json@^5.2.0: + version "5.2.0" + resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-5.2.0.tgz#c76fc66dee54231c962b22bcc8a72cf2f99753cd" + integrity sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg== + dependencies: + "@babel/code-frame" "^7.0.0" + error-ex "^1.3.1" + json-parse-even-better-errors "^2.3.0" + lines-and-columns "^1.1.6" + path-exists@^4.0.0: version "4.0.0" resolved "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz" @@ -1525,10 +3127,10 @@ path-exists@^4.0.0: path-is-absolute@^1.0.0: version "1.0.1" - resolved "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz" + resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" integrity sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg== -path-key@^3.1.0: +path-key@^3.0.0, path-key@^3.1.0: version "3.1.1" resolved "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz" integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== @@ -1543,30 +3145,69 @@ path-type@^4.0.0: resolved "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz" integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== -picomatch@^2.3.1: +picocolors@^1.0.0, picocolors@^1.0.1: + version "1.1.0" + resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.1.0.tgz#5358b76a78cde483ba5cef6a9dc9671440b27d59" + integrity sha512-TQ92mBOW0l3LeMeyLV6mzy/kWr8lkd/hp3mTg7wYK7zJhuBStmGMBG0BdeDZS/dZx1IukaX6Bk11zcln25o1Aw== + +picomatch@^2.0.4, picomatch@^2.2.3, picomatch@^2.3.1: version "2.3.1" resolved "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz" integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== +pirates@^4.0.4: + version "4.0.6" + resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.6.tgz#3018ae32ecfcff6c29ba2267cbf21166ac1f36b9" + integrity sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg== + +pkg-dir@^4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-4.2.0.tgz#f099133df7ede422e81d1d8448270eeb3e4261f3" + integrity sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ== + dependencies: + find-up "^4.0.0" + prelude-ls@^1.2.1: version "1.2.1" resolved "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz" integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g== +pretty-format@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-29.7.0.tgz#ca42c758310f365bfa71a0bda0a807160b776812" + integrity sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ== + dependencies: + "@jest/schemas" "^29.6.3" + ansi-styles "^5.0.0" + react-is "^18.0.0" + +prompts@^2.0.1: + version "2.4.2" + resolved "https://registry.yarnpkg.com/prompts/-/prompts-2.4.2.tgz#7b57e73b3a48029ad10ebd44f74b01722a4cb069" + integrity sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q== + dependencies: + kleur "^3.0.3" + sisteransi "^1.0.5" + punycode@^2.1.0: version "2.3.0" resolved "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz" integrity sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA== +pure-rand@^6.0.0: + version "6.1.0" + resolved "https://registry.yarnpkg.com/pure-rand/-/pure-rand-6.1.0.tgz#d173cf23258231976ccbdb05247c9787957604f2" + integrity sha512-bVWawvoZoBYpp6yIoQtQXHZjmz35RSVHnUOTefl8Vcjr8snTPY1wnpSPMWekcFwbxI6gtmT7rSYPFvz71ldiOA== + queue-microtask@^1.2.2: version "1.2.3" resolved "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz" integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A== -reflect-metadata@^0.1.12: - version "0.1.14" - resolved "https://registry.npmjs.org/reflect-metadata/-/reflect-metadata-0.1.14.tgz" - integrity sha512-ZhYeb6nRaXCfhnndflDK8qI6ZQ/YcWZCISRAWICW9XYqMUwjZM9Z0DveWX/ABN01oxSHwVxKQmxeYZSsm0jh5A== +react-is@^18.0.0: + version "18.3.1" + resolved "https://registry.yarnpkg.com/react-is/-/react-is-18.3.1.tgz#e83557dc12eae63a99e003a46388b1dcbb44db7e" + integrity sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg== regexp.prototype.flags@^1.5.1: version "1.5.1" @@ -1577,11 +3218,42 @@ regexp.prototype.flags@^1.5.1: define-properties "^1.2.0" set-function-name "^2.0.0" +require-directory@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" + integrity sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q== + +resolve-cwd@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/resolve-cwd/-/resolve-cwd-3.0.0.tgz#0f0075f1bb2544766cf73ba6a6e2adfebcb13f2d" + integrity sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg== + dependencies: + resolve-from "^5.0.0" + resolve-from@^4.0.0: version "4.0.0" resolved "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz" integrity sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g== +resolve-from@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-5.0.0.tgz#c35225843df8f776df21c57557bc087e9dfdfc69" + integrity sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw== + +resolve.exports@^2.0.0: + version "2.0.2" + resolved "https://registry.yarnpkg.com/resolve.exports/-/resolve.exports-2.0.2.tgz#f8c934b8e6a13f539e38b7098e2e36134f01e800" + integrity sha512-X2UW6Nw3n/aMgDVy+0rSqgHlv39WZAlZrXCdnbyEiKm17DSqHX4MmQMaST3FbeWR5FTuRcUwYAziZajji0Y7mg== + +resolve@^1.20.0: + version "1.22.8" + resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.8.tgz#b6c87a9f2aa06dfab52e3d70ac8cde321fa5a48d" + integrity sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw== + dependencies: + is-core-module "^2.13.0" + path-parse "^1.0.7" + supports-preserve-symlinks-flag "^1.0.0" + resolve@^1.22.4: version "1.22.6" resolved "https://registry.npmjs.org/resolve/-/resolve-1.22.6.tgz" @@ -1622,11 +3294,16 @@ safe-regex-test@^1.0.0: get-intrinsic "^1.1.3" is-regex "^1.1.4" -semver@^6.3.1: +semver@^6.3.0, semver@^6.3.1: version "6.3.1" resolved "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz" integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA== +semver@^7.5.3, semver@^7.6.0, semver@^7.6.3: + version "7.6.3" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.3.tgz#980f7b5550bc175fb4dc09403085627f9eb33143" + integrity sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A== + semver@^7.5.4: version "7.5.4" resolved "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz" @@ -1634,11 +3311,6 @@ semver@^7.5.4: dependencies: lru-cache "^6.0.0" -semver@^7.6.0: - version "7.6.3" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.3.tgz#980f7b5550bc175fb4dc09403085627f9eb33143" - integrity sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A== - set-function-name@^2.0.0: version "2.0.1" resolved "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.1.tgz" @@ -1679,22 +3351,32 @@ side-channel@^1.0.4: get-intrinsic "^1.0.2" object-inspect "^1.9.0" +signal-exit@^3.0.3, signal-exit@^3.0.7: + version "3.0.7" + resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" + integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== + +sisteransi@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/sisteransi/-/sisteransi-1.0.5.tgz#134d681297756437cc05ca01370d3a7a571075ed" + integrity sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg== + slash@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz" integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q== -source-map-support@^0.5.6: - version "0.5.21" - resolved "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz" - integrity sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w== +source-map-support@0.5.13: + version "0.5.13" + resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.13.tgz#31b24a9c2e73c2de85066c0feb7d44767ed52932" + integrity sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w== dependencies: buffer-from "^1.0.0" source-map "^0.6.0" -source-map@^0.6.0: +source-map@^0.6.0, source-map@^0.6.1: version "0.6.1" - resolved "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz" + resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== spdx-exceptions@^2.1.0: @@ -1715,6 +3397,35 @@ spdx-license-ids@^3.0.0: resolved "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.15.tgz" integrity sha512-lpT8hSQp9jAKp9mhtBU4Xjon8LPGBvLIuBiSVhMEtmLecTh2mO0tlqrAMp47tBXzMr13NJMQ2lf7RpQGLJ3HsQ== +sprintf-js@~1.0.2: + version "1.0.3" + resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" + integrity sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g== + +stack-utils@^2.0.3: + version "2.0.6" + resolved "https://registry.yarnpkg.com/stack-utils/-/stack-utils-2.0.6.tgz#aaf0748169c02fc33c8232abccf933f54a1cc34f" + integrity sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ== + dependencies: + escape-string-regexp "^2.0.0" + +string-length@^4.0.1: + version "4.0.2" + resolved "https://registry.yarnpkg.com/string-length/-/string-length-4.0.2.tgz#a8a8dc7bd5c1a82b9b3c8b87e125f66871b6e57a" + integrity sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ== + dependencies: + char-regex "^1.0.2" + strip-ansi "^6.0.0" + +string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: + version "4.2.3" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" + string.prototype.trim@^1.2.8: version "1.2.8" resolved "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.8.tgz" @@ -1742,7 +3453,7 @@ string.prototype.trimstart@^1.0.7: define-properties "^1.2.0" es-abstract "^1.22.1" -strip-ansi@^6.0.1: +strip-ansi@^6.0.0, strip-ansi@^6.0.1: version "6.0.1" resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== @@ -1754,11 +3465,28 @@ strip-bom@^3.0.0: resolved "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz" integrity sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA== +strip-bom@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-4.0.0.tgz#9c3505c1db45bcedca3d9cf7a16f5c5aa3901878" + integrity sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w== + +strip-final-newline@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-2.0.0.tgz#89b852fb2fcbe936f6f4b3187afb0a12c1ab58ad" + integrity sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA== + strip-json-comments@^3.1.1: version "3.1.1" resolved "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz" integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== +supports-color@^5.3.0: + version "5.5.0" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" + integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== + dependencies: + has-flag "^3.0.0" + supports-color@^7.1.0: version "7.2.0" resolved "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz" @@ -1766,28 +3494,42 @@ supports-color@^7.1.0: dependencies: has-flag "^4.0.0" +supports-color@^8.0.0: + version "8.1.1" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-8.1.1.tgz#cd6fc17e28500cff56c1b86c0a7fd4a54a73005c" + integrity sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q== + dependencies: + has-flag "^4.0.0" + supports-preserve-symlinks-flag@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz" integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== -testyts@^1.5.0: - version "1.5.0" - resolved "https://registry.npmjs.org/testyts/-/testyts-1.5.0.tgz" - integrity sha512-ww6zqyf5kN7NFqaJ0ODX4tRTLKs5RNhHPGJCv4tw5qDU9bdhNXSbuqqjbgMe1YSWjBuSDT6o3XTnNCehrJGwPQ== +test-exclude@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/test-exclude/-/test-exclude-6.0.0.tgz#04a8698661d805ea6fa293b6cb9e63ac044ef15e" + integrity sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w== dependencies: - commander "^4.1.1" - glob "^7.1.6" - reflect-metadata "^0.1.12" - ts-node "^7.0.1" - tsconfig-paths "^3.9.0" - typescript "^3.8.3" + "@istanbuljs/schema" "^0.1.2" + glob "^7.1.4" + minimatch "^3.0.4" text-table@^0.2.0: version "0.2.0" resolved "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz" integrity sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw== +tmpl@1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/tmpl/-/tmpl-1.0.5.tgz#8683e0b902bb9c20c4f726e3c0b69f36518c07cc" + integrity sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw== + +to-fast-properties@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e" + integrity sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog== + to-regex-range@^5.0.1: version "5.0.1" resolved "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz" @@ -1805,6 +3547,21 @@ ts-api-utils@^1.3.0: resolved "https://registry.yarnpkg.com/ts-api-utils/-/ts-api-utils-1.3.0.tgz#4b490e27129f1e8e686b45cc4ab63714dc60eea1" integrity sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ== +ts-jest@^29.2.5: + version "29.2.5" + resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-29.2.5.tgz#591a3c108e1f5ebd013d3152142cb5472b399d63" + integrity sha512-KD8zB2aAZrcKIdGk4OwpJggeLcH1FgrICqDSROWqlnJXGCXK4Mn6FcdK2B6670Xr73lHMG1kHw8R87A0ecZ+vA== + dependencies: + bs-logger "^0.2.6" + ejs "^3.1.10" + fast-json-stable-stringify "^2.1.0" + jest-util "^29.0.0" + json5 "^2.2.3" + lodash.memoize "^4.1.2" + make-error "^1.3.6" + semver "^7.6.3" + yargs-parser "^21.1.1" + ts-node@^10.9.1: version "10.9.1" resolved "https://registry.npmjs.org/ts-node/-/ts-node-10.9.1.tgz" @@ -1824,20 +3581,6 @@ ts-node@^10.9.1: v8-compile-cache-lib "^3.0.1" yn "3.1.1" -ts-node@^7.0.1: - version "7.0.1" - resolved "https://registry.npmjs.org/ts-node/-/ts-node-7.0.1.tgz" - integrity sha512-BVwVbPJRspzNh2yfslyT1PSbl5uIk03EZlb493RKHN4qej/D06n1cEhjlOJG69oFsE7OT8XjpTUcYf6pKTLMhw== - dependencies: - arrify "^1.0.0" - buffer-from "^1.1.0" - diff "^3.1.0" - make-error "^1.1.1" - minimist "^1.2.0" - mkdirp "^0.5.1" - source-map-support "^0.5.6" - yn "^2.0.0" - tsconfig-paths@^3.14.2: version "3.14.2" resolved "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.14.2.tgz" @@ -1848,16 +3591,6 @@ tsconfig-paths@^3.14.2: minimist "^1.2.6" strip-bom "^3.0.0" -tsconfig-paths@^3.9.0: - version "3.15.0" - resolved "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.15.0.tgz" - integrity sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg== - dependencies: - "@types/json5" "^0.0.29" - json5 "^1.0.2" - minimist "^1.2.6" - strip-bom "^3.0.0" - type-check@^0.4.0, type-check@~0.4.0: version "0.4.0" resolved "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz" @@ -1865,6 +3598,16 @@ type-check@^0.4.0, type-check@~0.4.0: dependencies: prelude-ls "^1.2.1" +type-detect@4.0.8: + version "4.0.8" + resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-4.0.8.tgz#7646fb5f18871cfbb7749e69bd39a6388eb7450c" + integrity sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g== + +type-fest@^0.21.3: + version "0.21.3" + resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.21.3.tgz#d260a24b0198436e133fa26a524a6d65fa3b2e37" + integrity sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w== + typed-array-buffer@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.0.tgz" @@ -1923,11 +3666,6 @@ typescript-eslint@^8.3.0: "@typescript-eslint/parser" "8.3.0" "@typescript-eslint/utils" "8.3.0" -typescript@^3.8.3: - version "3.9.10" - resolved "https://registry.npmjs.org/typescript/-/typescript-3.9.10.tgz" - integrity sha512-w6fIxVE/H1PkLKcCPsFqKE7Kv7QUwhU8qQY2MueZXWx5cPZdwFupLgKK3vntcK98BtNHZtAF4LA/yl2a7k8R6Q== - typescript@^5.2.2: version "5.2.2" resolved "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz" @@ -1943,6 +3681,19 @@ unbox-primitive@^1.0.2: has-symbols "^1.0.3" which-boxed-primitive "^1.0.2" +undici-types@~6.19.2: + version "6.19.8" + resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.19.8.tgz#35111c9d1437ab83a7cdc0abae2f26d88eda0a02" + integrity sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw== + +update-browserslist-db@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.1.0.tgz#7ca61c0d8650766090728046e416a8cde682859e" + integrity sha512-EdRAaAyk2cUE1wOf2DkEhzxqOQvFOoRJFNS6NeyJ01Gp2beMRpBAINjM2iDXE3KCuKhwnvHIQCJm6ThL2Z+HzQ== + dependencies: + escalade "^3.1.2" + picocolors "^1.0.1" + uri-js@^4.2.2: version "4.4.1" resolved "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz" @@ -1955,6 +3706,15 @@ v8-compile-cache-lib@^3.0.1: resolved "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz" integrity sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg== +v8-to-istanbul@^9.0.1: + version "9.3.0" + resolved "https://registry.yarnpkg.com/v8-to-istanbul/-/v8-to-istanbul-9.3.0.tgz#b9572abfa62bd556c16d75fdebc1a411d5ff3175" + integrity sha512-kiGUalWN+rgBJ/1OHZsBtU4rXZOfj/7rKQxULKlIzwzQSvMJUUNgPwJEEh7gU6xEVxC0ahoOBvN2YI8GH6FNgA== + dependencies: + "@jridgewell/trace-mapping" "^0.3.12" + "@types/istanbul-lib-coverage" "^2.0.1" + convert-source-map "^2.0.0" + vscode-oniguruma@^1.7.0: version "1.7.0" resolved "https://registry.npmjs.org/vscode-oniguruma/-/vscode-oniguruma-1.7.0.tgz" @@ -1965,6 +3725,13 @@ vscode-textmate@^8.0.0: resolved "https://registry.npmjs.org/vscode-textmate/-/vscode-textmate-8.0.0.tgz" integrity sha512-AFbieoL7a5LMqcnOF04ji+rpXadgOXnZsxQr//r83kLPr7biP7am3g9zbaZIaBGwBRWeSvoMD4mgPdX3e4NWBg== +walker@^1.0.8: + version "1.0.8" + resolved "https://registry.yarnpkg.com/walker/-/walker-1.0.8.tgz#bd498db477afe573dc04185f011d3ab8a8d7653f" + integrity sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ== + dependencies: + makeerror "1.0.12" + which-boxed-primitive@^1.0.2: version "1.0.2" resolved "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz" @@ -1994,26 +3761,66 @@ which@^2.0.1: dependencies: isexe "^2.0.0" +wrap-ansi@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" + integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + wrappy@1: version "1.0.2" - resolved "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz" + resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ== +write-file-atomic@^4.0.2: + version "4.0.2" + resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-4.0.2.tgz#a9df01ae5b77858a027fd2e80768ee433555fcfd" + integrity sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg== + dependencies: + imurmurhash "^0.1.4" + signal-exit "^3.0.7" + +y18n@^5.0.5: + version "5.0.8" + resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55" + integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA== + +yallist@^3.0.2: + version "3.1.1" + resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd" + integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g== + yallist@^4.0.0: version "4.0.0" resolved "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz" integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== +yargs-parser@^21.1.1: + version "21.1.1" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-21.1.1.tgz#9096bceebf990d21bb31fa9516e0ede294a77d35" + integrity sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw== + +yargs@^17.3.1: + version "17.7.2" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.7.2.tgz#991df39aca675a192b816e1e0363f9d75d2aa269" + integrity sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w== + dependencies: + cliui "^8.0.1" + escalade "^3.1.1" + get-caller-file "^2.0.5" + require-directory "^2.1.1" + string-width "^4.2.3" + y18n "^5.0.5" + yargs-parser "^21.1.1" + yn@3.1.1: version "3.1.1" resolved "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz" integrity sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q== -yn@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/yn/-/yn-2.0.0.tgz" - integrity sha512-uTv8J/wiWTgUTg+9vLTi//leUl5vDQS6uii/emeTb2ssY7vl6QWf2fFbIIGjnhjvbdKlU0ed7QPgY1htTC86jQ== - yocto-queue@^0.1.0: version "0.1.0" resolved "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz" From 500dc0c641ca4be9d53f1e8dad1d7a57952b98ed Mon Sep 17 00:00:00 2001 From: Paul Harrison Date: Wed, 25 Sep 2024 11:26:12 +0100 Subject: [PATCH 3/4] stop the jest watch --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 2fefce4..5a24206 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "private": false, "scripts": { "build": "tsc", - "test": "jest --watch", + "test": "jest", "doc": "typedoc src/main/ts/TSOFA.ts", "eslint": "eslint ." }, From 8fc97f20f40651fe0e559681cac3eb0677c63dd1 Mon Sep 17 00:00:00 2001 From: Paul Harrison Date: Wed, 25 Sep 2024 11:31:57 +0100 Subject: [PATCH 4/4] add forgotten jest config --- jest.config.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 jest.config.ts diff --git a/jest.config.ts b/jest.config.ts new file mode 100644 index 0000000..8214f96 --- /dev/null +++ b/jest.config.ts @@ -0,0 +1,15 @@ +// jest.config.ts +import { createDefaultEsmPreset, type JestConfigWithTsJest } from 'ts-jest' + +const defaultEsmPreset = createDefaultEsmPreset() + +const jestConfig: JestConfigWithTsJest = { + // [...] + ...defaultEsmPreset, + moduleNameMapper: { + '^(\\.{1,2}/.*)\\.js$': '$1', + }, + +} + +export default jestConfig \ No newline at end of file