(name: string, lhs: string, rhs: string, p = 60)
| 741 | expectApprox(ce.expr(['AiryAi', 1]), 0.13529241631288141, 1e-12); |
| 742 | }); |
| 743 | |
| 744 | test('Ai(-1) ≈ 0.5355608832923521', () => { |
| 745 | expectApprox(ce.expr(['AiryAi', -1]), 0.5355608832923521, 1e-12); |
| 746 | }); |
| 747 | |
| 748 | test('Ai(3) ≈ 0.006591139357460719', () => { |
| 749 | // Previous expected value (…7460011, tolerance 1e-5) was fitted to the |
| 750 | // plain-double series; the series now sums in double-double (P0-24). |
| 751 | expectApprox(ce.expr(['AiryAi', 3]), 0.006591139357460719, 1e-12); |
| 752 | }); |
| 753 | |
| 754 | test('Ai(10) ≈ 1.1047532552898686e-10 (asymptotic, was 7.6 digits)', () => { |
no test coverage detected