(x: number)
| 168 | expect(result.re).toBe(40); |
| 169 | }); |
| 170 | |
| 171 | it('huge Totient completes within timeout', () => { |
| 172 | const result = ce.expr(['Totient', 1_000_000_000]).evaluate(); |
| 173 | expect(result.re).toBe(400000000); |
| 174 | }); |
| 175 | |
| 176 | it('huge Sigma0 completes within timeout', () => { |
| 177 | const result = ce.expr(['Sigma0', 10_000_000_000]).evaluate(); |
| 178 | expect(result.re).toBe(121); |
| 179 | }); |
| 180 | |
| 181 | it('huge Sigma1 completes within timeout', () => { |